about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-19 09:33:39 +0000
committerEric Wong <e@80x24.org>2021-10-19 17:29:17 +0000
commitf7eb00e6312d1f48b3646a4856dd849a5d0c5a0b (patch)
tree39da9d0e1fffb71335e93c76857354e23f0244f5 /lib/PublicInbox
parent95ae3c4a45435a8208a8f10b27c78329b5ad3e85 (diff)
downloadpublic-inbox-f7eb00e6312d1f48b3646a4856dd849a5d0c5a0b.tar.gz
We can still continue with some local externals, maybe;
but the error needs to be propagated to the calling process
for scripting purposes.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/LeiUp.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiUp.pm b/lib/PublicInbox/LeiUp.pm
index 4fd0290c..fcdd535d 100644
--- a/lib/PublicInbox/LeiUp.pm
+++ b/lib/PublicInbox/LeiUp.pm
@@ -124,7 +124,7 @@ sub net_merge_all_done {
         $lei->{net} = delete($self->{-net_new}) if $self->{-net_new};
         $self->wq_close;
         eval { redispatch_all($self, $lei) };
-        warn "E: $@" if $@;
+        $lei->child_error(0, "E: $@") if $@;
 }
 
 sub _complete_up { # lei__complete hook