about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-11-10 10:28:37 +0000
committerEric Wong <e@80x24.org>2021-11-10 18:38:13 +0000
commit878604bada08970f8bfedc2e9efa687fbec0edbd (patch)
tree8ad88d3e4bfdd8bcf64bfa37d025f00cdbbfbd9a /lib
parenta34e62ec1d84eafb67cc63532a383d15a18dcc4d (diff)
downloadpublic-inbox-878604bada08970f8bfedc2e9efa687fbec0edbd.tar.gz
Hopefully problems can get diagnosed more quickly with
the sub name in the error message.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/IPC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/IPC.pm b/lib/PublicInbox/IPC.pm
index 3e299448..8376275e 100644
--- a/lib/PublicInbox/IPC.pm
+++ b/lib/PublicInbox/IPC.pm
@@ -247,7 +247,7 @@ sub recv_and_run {
         undef $buf;
         my $sub = shift @$args;
         eval { $self->$sub(@$args) };
-        warn "$$ $0 wq_worker: $@" if $@;
+        warn "$$ $0 wq_worker: $sub: $@" if $@;
         delete @$self{0..($nfd-1)};
         $n;
 }