]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_to_mail: show --output on augment progress failure
authorEric Wong <e@80x24.org>
Sun, 10 Oct 2021 14:25:11 +0000 (14:25 +0000)
committerEric Wong <e@80x24.org>
Sun, 10 Oct 2021 23:28:59 +0000 (23:28 +0000)
Just in case it fails when there's many parallel invocations.

lib/PublicInbox/LeiToMail.pm

index d42759cf71d4d372612fdbc4c79efcf270533e1d..5a220ba397354af51f23bdc9685c99ecf4181f51 100644 (file)
@@ -796,7 +796,7 @@ sub augment_inprogress {
                                "scanning old contents of $dst for dedupe" :
                                "removing old contents of $dst")." ...\n";
        };
-       warn "E: $@" if $@;
+       warn "E: $@ ($dst)" if $@;
 }
 
 # called in top-level lei-daemon when LeiAuth is done