gptel: Fix free-variable error
* gptel.el (gptel--url-parse-response): Fix free-variable error.
This commit is contained in:
parent
5ebaf361f1
commit
552939b2f6
1 changed files with 1 additions and 1 deletions
2
gptel.el
2
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.")
|
||||
|
|
Loading…
Add table
Reference in a new issue