projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
restore in-browser error reporting
[freeside.git]
/
htetc
/
handler.pl
diff --git
a/htetc/handler.pl
b/htetc/handler.pl
index
9605b8f
..
4d566c2
100644
(file)
--- a/
htetc/handler.pl
+++ b/
htetc/handler.pl
@@
-37,6
+37,8
@@
if ( %%%RT_ENABLED%%% ) {
my %interp = (
request_class => 'HTML::Mason::Request::ApacheHandler',
data_dir => '%%%MASONDATA%%%',
my %interp = (
request_class => 'HTML::Mason::Request::ApacheHandler',
data_dir => '%%%MASONDATA%%%',
+ error_mode => 'output',
+ error_format => 'html',
ignore_warnings_expr => '.',
comp_root => [
[ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ],
ignore_warnings_expr => '.',
comp_root => [
[ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ],
@@
-360,6
+362,7
@@
sub handler
# if ( $@ ) {
# $RT::Logger->crit($@);
# }
# if ( $@ ) {
# $RT::Logger->crit($@);
# }
+ warn $@ if $@;
undef %session;
undef %session;