]> Sergey Matveev's repositories - public-inbox.git/commit
distinguish error messages intended for users vs developers
authorEric Wong <e@80x24.org>
Mon, 29 Feb 2016 00:41:02 +0000 (00:41 +0000)
committerEric Wong <e@80x24.org>
Mon, 29 Feb 2016 00:41:02 +0000 (00:41 +0000)
commit1c0cfc8726c1c5e4085ad43bdf533b91af88e971
tree072d073fbdb1ea20a4ebcf6fee6bd482ba58c8f1
parente3fd8551e919b95a78f1f0ab0cfff12033291eeb
distinguish error messages intended for users vs developers

For error messages intended to show user error (e.g. giving
invalid options), we add a newline ("\n") at the end to
polluting the output with location information.

However, for diagnosing non-user-triggered errors, we should
show the location of where the error occured.
lib/PublicInbox/Config.pm
lib/PublicInbox/Daemon.pm
lib/PublicInbox/NNTP.pm
lib/PublicInbox/WWW.pm