|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re^3: Mason error capturingby rdfield (Priest) |
| on Feb 02, 2005 at 12:05 UTC ( [id://427331]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
The docs state that the error mode is either fatal or output with no in between. I guess you could sub-class the constructor and re-write the fatals sub to do both. The problem, I guess, is that the error is (usually) during the interpreter phase, and doesn't get anywhere near your code, so you can't do anything too fancy. You could, of course, write a PerlLogHandler module that lets you know when an error's occured via email or somesuch. rdfield
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||