Skip Menu |

This queue is for tickets about the Catalyst-Plugin-CustomErrorMessage CPAN distribution.

Report information
The Basics
Id: 36119
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Catalyst-Plugin-CustomErrorMessage

People
Owner: jozef [...] kutej.net
Requestors: chris+rt [...] chrisdolan.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: (no value)



Subject: Wrap in eval{}
I recommend that the error.tt2 rendering part be wrapped in an eval{} block and, if it fails, call into NEXT::finalize_error(). My concern is that if View/TT.pm is what triggered the error then calling back in will be bad news. Otherwise, this module is perfect! I'm glad I checked CPAN before rolling my own.
Just uploaded new dev version with eval: 0.03_01 - calling view in an eval block - config "custome" is now "custom" (but previous also works)