<?xml version="1.0" encoding="windows-1252"?>
<node id="427331" title="Re^3: Mason error capturing" created="2005-02-02 12:05:03" updated="2005-06-03 19:15:04">
<type id="11">
note</type>
<author id="116937">
rdfield</author>
<data>
<field name="doctext">
The docs state that the error mode is either &lt;code&gt;fatal&lt;/code&gt; or &lt;code&gt;output&lt;/code&gt; with no in between.  I guess you could sub-class the constructor and re-write the fatals sub to do both.&lt;P&gt;
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.&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-116937"&gt;
&lt;P&gt;rdfield
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
427309</field>
<field name="parent_node">
427321</field>
</data>
</node>
