]> Sergey Matveev's repositories - public-inbox.git/commit
lei: dump errors to syslog, and not to CLI
authorEric Wong <e@80x24.org>
Fri, 3 Sep 2021 08:54:20 +0000 (08:54 +0000)
committerEric Wong <e@80x24.org>
Fri, 3 Sep 2021 08:55:03 +0000 (08:55 +0000)
commit73740c9e97efdd98e87a1d52fc064bffe449be83
treebe0d6bd5596a68f801d9b5715114bd6b0531ab5c
parent9b2c705f92a6baf33684aa0845dc5163ae31016e
lei: dump errors to syslog, and not to CLI

Dumping errors from the previous run can often get lost, so just
spew to syslog since it's a standard place to put errors that
don't make it to a client.  Note: we don't rely on $SIG{__WARN__}
since some of the Net:: stuff will write directly to STDERR
(as will external processes).
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiStoreErr.pm
t/lei-daemon.t