From: Mischa POSLAWSKY Date: Wed, 29 Mar 2017 11:11:52 +0000 (+0200) Subject: common: copy plp errors on stderr X-Git-Tag: v1.10~283 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/d82c3e9b9482dea04d0b7bfb6fcd52c296eae022 common: copy plp errors on stderr Log unexpected runtime failure. --- diff --git a/common.inc.plp b/common.inc.plp index 18c2471..593adb0 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -12,6 +12,7 @@ use HTTP::Date; $PLP::ERROR = sub { my ($text, $html) = @_; print '

Fatal error: '.$html."

\n\n"; + warn $text; }; BEGIN {