Have you looked here? Use the Debug directive, and the errors will be printed out for you.

http://www.template-toolkit.org/docs/plain/Manual/Config.html

I think we just use:
Debug => 1

You should probably use the constants, though.

-- Josh


Octavian Rasnita wrote:
Hi,

I would like to be able to see all the errors generated from a template when
I execute the program.
I have read the manual but I don't want to use [% TRY %] or [% CATCH %].

I would like to see if I have made a type mistake and TT can't find a
template file, or if I have made a syntax error in a template.

Is this possible? Are there any settings for this?

Thank you.

Teddy


_______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates

!DSPAM:41fbe45357542022267353!



_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to