diff options
author | Eric Wong <e@80x24.org> | 2021-11-10 10:28:37 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-11-10 18:38:13 +0000 |
commit | 878604bada08970f8bfedc2e9efa687fbec0edbd (patch) | |
tree | 8ad88d3e4bfdd8bcf64bfa37d025f00cdbbfbd9a /lib/PublicInbox/IPC.pm | |
parent | a34e62ec1d84eafb67cc63532a383d15a18dcc4d (diff) | |
download | public-inbox-878604bada08970f8bfedc2e9efa687fbec0edbd.tar.gz |
Hopefully problems can get diagnosed more quickly with the sub name in the error message.
Diffstat (limited to 'lib/PublicInbox/IPC.pm')
-rw-r--r-- | lib/PublicInbox/IPC.pm | 2 |
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; } |