]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/NNTP.pm
daemon: warn on missing blobs
[public-inbox.git] / lib / PublicInbox / NNTP.pm
index 9d91544abd309d7186ceae91e338129a42f1e361..87ddf7a4af83312e41edc775e0794066d73e6ce3 100644 (file)
@@ -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;