emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gptel 552939b2f6 047/273: gptel: Fix free-variable error


From: ELPA Syncer
Subject: [nongnu] elpa/gptel 552939b2f6 047/273: gptel: Fix free-variable error
Date: Wed, 1 May 2024 10:01:35 -0400 (EDT)

branch: elpa/gptel
commit 552939b2f65b6b80185e4ee3fbf213078e7a8ace
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>

    gptel: Fix free-variable error
    
    * gptel.el (gptel--url-parse-response): Fix free-variable error.
---
 gptel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gptel.el b/gptel.el
index 0e58997a81..e9bb04f5c5 100644
--- a/gptel.el
+++ b/gptel.el
@@ -375,7 +375,7 @@ INFO is a plist with the following keys:
               (list :content nil :status (concat status ": " error-type))))
            ((eq response 'json-read-error)
             (message "ChatGPT error: Malformed JSON in response.")
-            (list :content nil :status (concat http-msg ": Malformed JSON in 
response.")))
+            (list :content nil :status (concat status ": Malformed JSON in 
response.")))
            (t (message "ChatGPT error: Could not parse HTTP response.")
               (list :content nil :status (concat status ": Could not parse 
HTTP response."))))
         (message "ChatGPT error: Could not parse HTTP response.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]