git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bba0d5b
)
common: copy plp errors on stderr
author
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 29 Mar 2017 11:11:52 +0000
(13:11 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 10 Apr 2017 13:28:46 +0000
(15:28 +0200)
Log unexpected runtime failure.
common.inc.plp
patch
|
blob
|
history
diff --git
a/common.inc.plp
b/common.inc.plp
index 18c247138844f3269e2724f527b887d44067d774..593adb0619d2d2b579782e888772114f412058ad 100644
(file)
--- a/
common.inc.plp
+++ b/
common.inc.plp
@@
-12,6
+12,7
@@
use HTTP::Date;
$PLP::ERROR = sub {
my ($text, $html) = @_;
print '<p class="error"><strong>Fatal error</strong>: '.$html."</p>\n\n";
$PLP::ERROR = sub {
my ($text, $html) = @_;
print '<p class="error"><strong>Fatal error</strong>: '.$html."</p>\n\n";
+ warn $text;
};
BEGIN {
};
BEGIN {