about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/GzipFilter.pm1
-rw-r--r--lib/PublicInbox/IMAP.pm1
-rw-r--r--lib/PublicInbox/NNTP.pm1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/PublicInbox/GzipFilter.pm b/lib/PublicInbox/GzipFilter.pm
index 57344604..b5ad9eb8 100644
--- a/lib/PublicInbox/GzipFilter.pm
+++ b/lib/PublicInbox/GzipFilter.pm
@@ -170,6 +170,7 @@ sub async_blob_cb { # git->cat_async callback
         if (!defined($oid)) {
                 # it's possible to have TOCTOU if an admin runs
                 # public-inbox-(edit|purge), just move onto the next message
+                warn "E: $smsg->{blob} missing in $self->{-inbox}->{inboxdir}\n";
                 return $http->next_step($self->{async_next});
         }
         $smsg->{blob} eq $oid or bail($self, "BUG: $smsg->{blob} != $oid");
diff --git a/lib/PublicInbox/IMAP.pm b/lib/PublicInbox/IMAP.pm
index e0602143..d8c898f4 100644
--- a/lib/PublicInbox/IMAP.pm
+++ b/lib/PublicInbox/IMAP.pm
@@ -620,6 +620,7 @@ sub fetch_blob_cb { # called by git->cat_async via git_async_cat
         if (!defined($oid)) {
                 # it's possible to have TOCTOU if an admin runs
                 # public-inbox-(edit|purge), just move onto the next message
+                warn "E: $smsg->{blob} missing in $self->{ibx}->{inboxdir}\n";
                 return requeue_once($self);
         } else {
                 $smsg->{blob} eq $oid or die "BUG: $smsg->{blob} != $oid";
diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm
index 9d91544a..87ddf7a4 100644
--- a/lib/PublicInbox/NNTP.pm
+++ b/lib/PublicInbox/NNTP.pm
@@ -523,6 +523,7 @@ sub blob_cb { # called by git->cat_async via git_async_cat
         if (!defined($oid)) {
                 # it's possible to have TOCTOU if an admin runs
                 # public-inbox-(edit|purge), just move onto the next message
+                warn "E: $smsg->{blob} missing in $self->{ng}->{inboxdir}\n";
                 return $self->requeue;
         } elsif ($smsg->{blob} ne $oid) {
                 $self->close;