]> Sergey Matveev's repositories - public-inbox.git/commit
lei2mail: augment_inprogress: guard against closed FDs
authorEric Wong <e@80x24.org>
Sat, 25 Sep 2021 05:49:45 +0000 (05:49 +0000)
committerEric Wong <e@80x24.org>
Sat, 25 Sep 2021 08:53:45 +0000 (08:53 +0000)
commit562cae2dc6dfd8b6ae85094115f67fe8d57cec8e
tree5cef06fb153ff3bfc908e55e9376ce09a696337d
parent50417b5469245feef84789f0bb540a3780dc14b4
lei2mail: augment_inprogress: guard against closed FDs

I'm not sure what caused it, but $err was undef and caused print
to fail, leading to an event loop error.  Guard the timer with
an eval and assume warn() can't trigger an event loop failure.
lib/PublicInbox/LeiToMail.pm