[Templates] how to see error messages

[prev] [thread] [next] [Date index for 2005/04/11]

From: Dave Howorth
Subject: [Templates] how to see error messages
Date: 12:36 on 11 Apr 2005
A while ago I posted a question about how to retrieve diagnostic 
information but didn't get any replies. So I'd like to rephrase my 
question to see if anybody can help.

In my template, I say something like:

   [% USE c = Class('MyClass') ;
      v = c.some_method(args) %]

My problem is that some_method is dying but I don't get any diagnostic 
output. It seems as though TT just swallows the message. I've tried

   Template::Provider->new({DEBUG => 'all'});

but that still doesn't show the die message from my method.

Can anybody tell me how to retrieve this message?

Thanks and regards,
Dave


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] how to see error messages
Dave Howorth 12:36 on 11 Apr 2005

Re: [Templates] how to see error messages
merlyn (Randal L. Schwartz) 14:45 on 11 Apr 2005

Re: [Templates] how to see error messages
merlyn (Randal L. Schwartz) 14:51 on 11 Apr 2005

Re: [Templates] how to see error messages
Dave Howorth 15:09 on 12 Apr 2005

Re: [Templates] how to see error messages
Andy Wardley 07:24 on 13 Apr 2005

Re: [Templates] how to see error messages
Dave Howorth 09:36 on 13 Apr 2005

Re: [Templates] how to see error messages
Dave Howorth 10:23 on 14 Apr 2005

Generated at 09:31 on 27 Apr 2005 by mariachi v0.52