Re: [Templates] Reading the errors
[prev]
[thread]
[next]
[Date index for 2005/01/29]
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
> templates@xxxxxxxxxxxxxxxx.xxx
> http://lists.template-toolkit.org/mailman/listinfo/templates
>
> !DSPAM:41fbe45357542022267353!
>
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
 |
Re: [Templates] Reading the errors
Josh Rosenbaum 21:21 on 29 Jan 2005
|