Made $session->log->fatal() message pass through
This commit is contained in:
parent
716bdaeb86
commit
42c1a8e149
6 changed files with 55 additions and 51 deletions
|
|
@ -257,8 +257,10 @@ If this problem persists, please contact us with what you were trying to do and
|
|||
END_HTML
|
||||
}
|
||||
|
||||
# Fatal errors cause an exception to be thrown
|
||||
WebGUI::Error->throw( error => $error );
|
||||
# Fatal errors cause an exception to be thrown - use WebGUI::Error::Fatal so
|
||||
# that WebGUI knows to show this error message to all site users (instead of showing
|
||||
# non-debug users the generic error screen)
|
||||
WebGUI::Error::Fatal->throw( error => $error );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue