From c7bcfe6cd6648ff015dcf29155c0c9c40e4f2b00 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 14 Aug 2021 00:29:42 +0000 Subject: lei: diagnostics for /Document \d+ not found/ errors This may help diagnose "Exception: Document \d+ not found" errors I'm seeing from "lei up" with HTTPS endpoints. --- lib/PublicInbox/IPC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/IPC.pm') diff --git a/lib/PublicInbox/IPC.pm b/lib/PublicInbox/IPC.pm index 497a6035..d909dc1c 100644 --- a/lib/PublicInbox/IPC.pm +++ b/lib/PublicInbox/IPC.pm @@ -236,7 +236,7 @@ sub recv_and_run { undef $buf; my $sub = shift @$args; eval { $self->$sub(@$args) }; - warn "$$ wq_worker: $@" if $@; + warn "$$ $0 wq_worker: $@" if $@; delete @$self{0..($nfd-1)}; $n; } -- cgit v1.2.3-24-ge0c7