diff options
author | Eric Wong <e@80x24.org> | 2015-10-01 23:31:13 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-10-01 23:31:13 +0000 |
commit | 27eb19dc79041b284d1eeb730e9c4d0827835da7 (patch) | |
tree | a9590814885df8897d5d7f532d3581950522647a /lib | |
parent | f73027bac6e0d1fae1cae7015badf375c09057df (diff) | |
download | public-inbox-27eb19dc79041b284d1eeb730e9c4d0827835da7.tar.gz |
It may be hard to tell what command triggered an error, otherwise.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/NNTP.pm | 2 |
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; |