]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiToMail.pm
lei_to_mail: quiet down abort messages
[public-inbox.git] / lib / PublicInbox / LeiToMail.pm
index 76e103c7c2351638902bac42cd6290488e9e761d..ca4e92de48b77c02a0dfd98c2b1483e8e5a2290b 100644 (file)
@@ -132,6 +132,7 @@ sub eml2mboxcl2 {
 
 sub git_to_mail { # git->cat_async callback
        my ($bref, $oid, $type, $size, $arg) = @_;
+       $type // return; # called by git->async_abort
        my ($write_cb, $smsg) = @$arg;
        if ($type eq 'missing' && $smsg->{-lms_ro}) {
                if ($bref = $smsg->{-lms_ro}->local_blob($oid, 1)) {