diff options
author | Eric Wong <e@80x24.org> | 2021-08-12 23:40:27 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-08-13 17:53:39 +0000 |
commit | 936641b6ae7d4a40b155adc5b016cf751897884a (patch) | |
tree | 1b0c440bd8a193dbbe00ade1be7e0e1385fbd490 /lib/PublicInbox/LeiUp.pm | |
parent | 3b97efd2547c78803c060c6f02a7a2a7c9611e60 (diff) | |
download | public-inbox-936641b6ae7d4a40b155adc5b016cf751897884a.tar.gz |
We can keep going if one (out of multiple) output destinations fail, but the error needs to be communicated to the caller as an exit code.
Diffstat (limited to 'lib/PublicInbox/LeiUp.pm')
-rw-r--r-- | lib/PublicInbox/LeiUp.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiUp.pm b/lib/PublicInbox/LeiUp.pm index 49b558fd..c5a01527 100644 --- a/lib/PublicInbox/LeiUp.pm +++ b/lib/PublicInbox/LeiUp.pm @@ -57,7 +57,7 @@ sub up1_redispatch { up1($l, $out); $l->qerr("# $out done"); }; - $l->err($@) if $@; + $l->child_error(1 << 8, $@) if $@; } sub lei_up { |