diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-21 11:27:51 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-21 11:27:51 +0100 |
commit | b6d473b1fbd0e9d42ed25c792519ddb27936c2dc (patch) | |
tree | 684c648f11ad542f3631618830115361e7b95372 | |
parent | 3cbfab81c2619d37ec04ea3e92bf562d8415314a (diff) |
Revert "http don't switch-to-buffer on response error"
This reverts commit 3cbfab81c2619d37ec04ea3e92bf562d8415314a.
-rw-r--r-- | lisp/mastodon-http.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index a556c2f..6e7bfb3 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -88,7 +88,7 @@ Message status and JSON error from RESPONSE if unsuccessful." (mastodon-http--status)))) (if (string-prefix-p "2" status) (funcall success) - ;; (switch-to-buffer response) + (switch-to-buffer response) ;; 404 returns http response not JSON: (if (string-prefix-p "404" status) (message "Error %s: page not found" status) |