Herkum has asked for the wisdom of the Perl Monks concerning the following question:
I am developing a web site with Template Toolkit to generate web pages. The problem I am having is that when there are errors trying to generate the web page, It will not display an errors in the log. I have an 'Error' run_mode (provided through CGI::Application and CGI::Application::Plugin::TT but that just displays a generic error template.
Can any give me a hint on how to force Template errors to show up in the error_log or in a variable that I can use to make it show up in the error template? It is driving me crazy to try and debug templates without error messages.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Catching Template Toolkit Errors
by GrandFather (Saint) on Mar 19, 2007 at 03:02 UTC | |
Re: Catching Template Toolkit Errors
by Zaxo (Archbishop) on Mar 19, 2007 at 04:42 UTC | |
Re: Catching Template Toolkit Errors
by rinceWind (Monsignor) on Mar 19, 2007 at 07:37 UTC | |
by Herkum (Parson) on Mar 19, 2007 at 11:55 UTC | |
Re: Catching Template Toolkit Errors
by astroboy (Chaplain) on Mar 19, 2007 at 21:34 UTC |
Back to
Seekers of Perl Wisdom