about summary refs log tree commit homepage
path: root/lib/PublicInbox/NNTP.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-10-01 23:31:13 +0000
committerEric Wong <e@80x24.org>2015-10-01 23:31:13 +0000
commit27eb19dc79041b284d1eeb730e9c4d0827835da7 (patch)
treea9590814885df8897d5d7f532d3581950522647a /lib/PublicInbox/NNTP.pm
parentf73027bac6e0d1fae1cae7015badf375c09057df (diff)
downloadpublic-inbox-27eb19dc79041b284d1eeb730e9c4d0827835da7.tar.gz
It may be hard to tell what command triggered an error,
otherwise.
Diffstat (limited to 'lib/PublicInbox/NNTP.pm')
-rw-r--r--lib/PublicInbox/NNTP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm
index 000b2c61..944e9305 100644
--- a/lib/PublicInbox/NNTP.pm
+++ b/lib/PublicInbox/NNTP.pm
@@ -114,7 +114,7 @@ sub process_line ($$) {
         my $err = $@;
         if ($err && !$self->{closed}) {
                 chomp($l = Dumper(\$l));
-                err($self, "error from: $l $err");
+                err($self, "error from: $l ($err)");
                 $res = '503 program fault - command not performed';
         }
         return 0 unless defined $res;