branch: elpa/fedi
commit c02918fc07cfa7bb39ed856f33f13cda244c8b2b
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    add 'message to --triage
---
 fedi-http.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fedi-http.el b/fedi-http.el
index 366b0ea0598..8d0a7772139 100644
--- a/fedi-http.el
+++ b/fedi-http.el
@@ -121,7 +121,8 @@ RESPONSE if unsuccessful."
            (let ((json-response (with-current-buffer response
                                   (fedi-http--process-json))))
              (user-error "Error %s: %s" status
-                         (alist-get 'error json-response)))))))
+                         (or (alist-get 'error json-response)
+                             (alist-get 'message json-response))))))))
 
 (defun fedi-http--read-file-as-string (filename)
   "Read a file FILENAME as a string. Used to generate image preview."

Reply via email to