]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiIndex.pm
lei: ->child_error less error-prone
[public-inbox.git] / lib / PublicInbox / LeiIndex.pm
index 5b545998ba87d6905383d9641e3e32ec159820b4..ef3e4d0b299af603b806d84d11e6c36217ecc423 100644 (file)
@@ -21,7 +21,7 @@ sub input_eml_cb { # used by input_maildir_cb and input_net_cb
 
 sub input_fh { # overrides PublicInbox::LeiInput::input_fh
        my ($self, $ifmt, $fh, $input, @args) = @_;
-       $self->{lei}->child_error(1<<8, <<EOM);
+       $self->{lei}->child_error(0, <<EOM);
 $input ($ifmt) not yet supported, try `lei import'
 EOM
 }