]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/GzipFilter.pm
daemon: warn on missing blobs
[public-inbox.git] / lib / PublicInbox / GzipFilter.pm
index 57344604b30f7e07d1434a601296eab81eaeb625..b5ad9eb884cd7a57989b1ec1e9102f35d00bb826 100644 (file)
@@ -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");