From: Eric Wong Date: Wed, 10 Nov 2021 10:28:37 +0000 (+0000) Subject: ipc: note failing sub name X-Git-Tag: v1.8.0~48 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=878604bada08970f8bfedc2e9efa687fbec0edbd ipc: note failing sub name Hopefully problems can get diagnosed more quickly with the sub name in the error message. --- 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; }