RT error output

I would like to assure that RT and Mason never write errors to the
end-user (email or web interfaces). I have set LogToScreen to undef in
RT_SiteConfig.pm, however, Mason compilation errors still go to screen.

Reading the Mason docs, it seems as if the following in Apache’s
httpd.conf should work:

PerlSetVar MasonErrorMode fatal SetHandler perl-script PerlHandler RT::Mason

However, Mason compilation errors are still printed to the user even
with MasonErrorMode set to fatal.

I would appreciate any help in assuring that the end-user never sees
Mason or RT errors.

Thank you.

  • Jason Parsons

I would like to assure that RT and Mason never write errors to the
end-user (email or web interfaces). I have set LogToScreen to undef
in RT_SiteConfig.pm, however, Mason compilation errors still go to
screen.

For the archives:

Adding the following to RT_SiteConfig.pm causes Mason compilation
errors to not be logged to screen:

@MasonParameters = ( error_mode => 'fatal' );
  • Jason Parsons