about summary refs log tree commit homepage
path: root/lib/PublicInbox/ExtSearchIdx.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-13 07:00:34 +0000
committerEric Wong <e@80x24.org>2021-10-13 19:51:16 +0000
commit759493eb1eb737e9dedd30b8280bc4067077c615 (patch)
tree40da243692d8282fcbd1fbd92d1cafe0af7e3f50 /lib/PublicInbox/ExtSearchIdx.pm
parent47035fd4b54ceb0da2f71d28b99a962acac576f4 (diff)
downloadpublic-inbox-759493eb1eb737e9dedd30b8280bc4067077c615.tar.gz
AFAIK I've never hit these messages, but I might be glad
if I ever do.
Diffstat (limited to 'lib/PublicInbox/ExtSearchIdx.pm')
-rw-r--r--lib/PublicInbox/ExtSearchIdx.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/ExtSearchIdx.pm b/lib/PublicInbox/ExtSearchIdx.pm
index 40489eab..ddb16241 100644
--- a/lib/PublicInbox/ExtSearchIdx.pm
+++ b/lib/PublicInbox/ExtSearchIdx.pm
@@ -595,11 +595,11 @@ sub _reindex_oid { # git->cat_async callback
                 my $oidbin = pack('H*', $expect_oid);
                 my $remain = _unref_doc($sync, $docid, undef, undef, $oidbin);
                 if ($remain == 0) {
-                        warn "W: #$docid gone or corrupted\n";
+                        warn "W: #$docid ($oid) gone or corrupt\n";
                 } elsif (my $next_oid = $req->{xr3r}->[++$req->{ix}]->[2]) {
                         $self->git->cat_async($next_oid, \&_reindex_oid, $req);
                 } else {
-                        warn "BUG: #$docid gone (UNEXPECTED)\n";
+                        warn "BUG: #$docid ($oid) gone (UNEXPECTED)\n";
                 }
                 return;
         }