summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2021-10-31 18:01:15 -0700
committerEric Abrahamsen <eric@ericabrahamsen.net>2021-11-08 11:29:47 -0800
commit032969e8c65ba1ccda8466f6c61f20e0c7293ebf (patch)
treecd3e7485cff58a5b159ea2b24a3c9c430c9fb5bb /lisp
parent58e271fc5e4a992e5352f69cc8c87aa61433129a (diff)
downloademacs-032969e8c65ba1ccda8466f6c61f20e0c7293ebf.tar.gz
emacs-032969e8c65ba1ccda8466f6c61f20e0c7293ebf.tar.bz2
emacs-032969e8c65ba1ccda8466f6c61f20e0c7293ebf.zip
Don't have nntp-report signal an error
* lisp/gnus/nntp.el (nntp-report): This should behave as much as possible like nnheader-report, which only logs the error and returns nil.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/nntp.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el
index 615a3c931bf..25289655bf2 100644
--- a/lisp/gnus/nntp.el
+++ b/lisp/gnus/nntp.el
@@ -331,9 +331,7 @@ retried once before actually displaying the error report."
(when nntp-record-commands
(nntp-record-command "*** CALLED nntp-report ***"))
- (nnheader-report 'nntp args)
-
- (apply #'error args)))
+ (nnheader-report 'nntp args)))
(defsubst nntp-copy-to-buffer (buffer start end)
"Copy string from unibyte current buffer to multibyte buffer."