]> Sergey Matveev's repositories - public-inbox.git/commit
lei/store: (more) synchronous non-fatal error output
authorEric Wong <e@80x24.org>
Sat, 3 Apr 2021 10:48:27 +0000 (10:48 +0000)
committerEric Wong <e@80x24.org>
Sat, 3 Apr 2021 18:38:47 +0000 (18:38 +0000)
commit842e684f0a4154787274843eb3c9be2eef11b160
treebece05a1c22a104953ec7007cfa7e23cdf4ac42b
parentb3e2975029ae938bb232aaa0cbc3dabda55d57d6
lei/store: (more) synchronous non-fatal error output

Since every command that writes to lei/store calls ->done
to commit its output, we can rely on that to return a
pathname for a readable file with errors in it.

Errors can still get crossed up if multiple lei commands
are writing to the store at once, but reduces the delay
in seeing them and ensures it won't get seen when somebody
is attempting to use shell completion.
MANIFEST
lib/PublicInbox/LeiStore.pm
lib/PublicInbox/LeiStoreErr.pm [new file with mode: 0644]