about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-03 10:48:25 +0000
committerEric Wong <e@80x24.org>2021-04-03 18:38:46 +0000
commite8ad075ab7d02b260fdf8470e6d851ade4eac6fa (patch)
tree5a5ec2212775d0030a89e5b24cb68f60de8de3d4
parent3d82121341db207f9bcd8dabf42394f3f45f8379 (diff)
downloadpublic-inbox-e8ad075ab7d02b260fdf8470e6d851ade4eac6fa.tar.gz
Just exiting with a failure code and no error message is
confusing :x
-rw-r--r--lib/PublicInbox/LeiTag.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiTag.pm b/lib/PublicInbox/LeiTag.pm
index 06313139..c7a21c87 100644
--- a/lib/PublicInbox/LeiTag.pm
+++ b/lib/PublicInbox/LeiTag.pm
@@ -121,7 +121,8 @@ sub lei_tag { # the "lei tag" method
 
 sub note_missing {
         my ($self) = @_;
-        $self->{lei}->child_error(1 << 8) if $self->{missing};
+        my $n = $self->{missing} or return;
+        $self->{lei}->child_error(1 << 8, "$n missed messages");
 }
 
 sub ipc_atfork_child {