Hi everyone,

I'm getting a strange behaviour since our serverupgrade Apache 2 /
mod_perl 2 with latest TT

I have an die handler in my script which catches errors.

$main::SIG{__DIE__}=\&WebApp::Output::die; ### 

How can I recognise, that this DIE signal a TRY/CATCH is.
Are there any flags that TT sends when TRY goes wrong so I could
recognize that and ignore this die signal?
Thanks

Denis

Here is a piece of code that makes problems

<% TRY %>
<% INCLUDE "${menu}.htm" %>
<% CATCH %>
<% INCLUDE "hotel.htm" %>
<% END %>


Error Message:

WebApp error occured: file error - .htm: not found

Time: Thu Aug  5 09:56:44 2004 GMT
File:
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Template/Context.
pm
Line: 492
Package: Template::Context
Callstack: 
URL: http://www.myserver.at/





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

Reply via email to