[Rt-commit] r7976 - in rt/branches/3.7-EXPERIMENTAL: .
jesse at bestpractical.com
jesse at bestpractical.com
Sun Jun 3 15:38:08 EDT 2007
Author: jesse
Date: Sun Jun 3 15:38:07 2007
New Revision: 7976
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Handler.pm
Log:
r57894 at pinglin: jesse | 2007-06-03 15:35:58 -0400
* Switch to displaying brief error messages in production mode, rather than stack traces
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Handler.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Handler.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Handler.pm Sun Jun 3 15:38:07 2007
@@ -73,6 +73,7 @@
static_source => (RT->Config->Get('DevelMode') ? '0' : '1'),
use_object_files => (RT->Config->Get('DevelMode') ? '0' : '1'),
autoflush => 0,
+ error_format => ((RT->Config->Get('DevelMode') ? 'html': 'brief',
request_class => 'RT::Interface::Web::Request',
) };
More information about the Rt-commit
mailing list