Perl run-time errors get kicked over to session->log->error, and
WebGUI::Middleware::StackTrace now intercepts errors as well as fatals (since fatals are likely going away).
This commit is contained in:
parent
f4bd6d3f2f
commit
95def8a439
2 changed files with 13 additions and 1 deletions
|
|
@ -155,6 +155,8 @@ sub handle {
|
|||
# }
|
||||
# );
|
||||
# return;
|
||||
|
||||
local $SIG{__DIE__} = sub { $session->log->error(@_); die @_; };
|
||||
|
||||
# Look for the template preview HTTP headers
|
||||
WebGUI::Asset::Template->processVariableHeaders($session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue