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

    add dubious cond case to -get
---
 fedi-http.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/fedi-http.el b/fedi-http.el
index 8d0a7772139..a4de03439d8 100644
--- a/fedi-http.el
+++ b/fedi-http.el
@@ -179,7 +179,10 @@ json-string PARAMS."
 PARAMS is an alist of any extra parameters to send with the request.
 SILENT means don't message."
   (let ((url (fedi-http--concat-params-to-url url params)))
-    (fedi-http--url-retrieve-synchronously url silent)))
+    (condition-case err
+        (fedi-http--url-retrieve-synchronously url silent)
+      (t (error "I am Error. Request borked. %s"
+                (error-message-string err))))))
 
 (defun fedi-http--get-response (url &optional params no-headers silent vector)
   "Make synchronous GET request to URL. Return JSON and response headers.

Reply via email to