Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Mason error capturing

by 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.


in reply to Re^2: Mason error capturing
in thread Mason error capturing

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://427331]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.