From 878604bada08970f8bfedc2e9efa687fbec0edbd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 10 Nov 2021 10:28:37 +0000 Subject: ipc: note failing sub name Hopefully problems can get diagnosed more quickly with the sub name in the error message. --- lib/PublicInbox/IPC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox') 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; } -- cgit v1.2.3-24-ge0c7