branch: elpa/fedi
commit b35f029b204450ac5042f6668af7b8cf60c1bf3e
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
http-triage: user-error for condition-case
---
fedi-http.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fedi-http.el b/fedi-http.el
index ca3e5526e9c..7423ce422ac 100644
--- a/fedi-http.el
+++ b/fedi-http.el
@@ -250,7 +250,7 @@ to returnany error message needed."
(with-current-buffer response
(url-http-parse-response))
(wrong-type-argument
- "Looks like we got no response from the server."))))
+ (user-error "Failed to check http response code.")))))
(cond ((and (>= status 200)
(<= status 299))
(funcall success response))