about summary refs log tree commit homepage
path: root/lib/PublicInbox/LEI.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-21 07:41:51 +0000
committerEric Wong <e@80x24.org>2021-09-21 19:18:35 +0000
commit387f0e693f9e22a7698927bb40dab0742738e8a6 (patch)
tree19a52cf42c123cbd660e2dc14a3e2b0b22dca8c5 /lib/PublicInbox/LEI.pm
parent8eaa877179910dce156179e9025d1e0df34089d8 (diff)
downloadpublic-inbox-387f0e693f9e22a7698927bb40dab0742738e8a6.tar.gz
We can set opt->{quiet} for (internal) 'note-event' command
to quiet ->qerr, since we use ->qerr everywhere else.  And
we'll just die() instead of setting a ->{fail} message, since
eval + die are more inline with the rest of our Perl code.
Diffstat (limited to 'lib/PublicInbox/LEI.pm')
-rw-r--r--lib/PublicInbox/LEI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 148a5b1e..f94bfa45 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -1194,7 +1194,7 @@ sub dir_idle_handler ($) { # PublicInbox::DirIdle callback
                                 $lei->dispatch('note-event',
                                                 "maildir:$mdir", $nc, $bn, $fn);
                         };
-                        warn "E note-event $f: $@\n" if $@;
+                        warn "E: note-event $f: $@\n" if $@;
                 }
         }
         if ($ev->can('cancel') && ($ev->IN_IGNORE || $ev->IN_UNMOUNT)) {