<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 8/31/2010 6:03 AM, Eden Cardim wrote:
<blockquote cite="mid:m2aao3jdzs.fsf@gmail.com" type="cite">Have you
read Catalyst::Manual::Cookbook?<br>
</blockquote>
<br>
Yes - that was the first place I looked. Obviously. <br>
<br>
As far as I can tell, from observed behaviour and from inspecting
the code, an error in the prepare phase does not generate any
response. I simply get an empty reply. I have checked this using
curl as well as a browser. Errors later on seem to work fine. <br>
<br>
The Catalyst::Action dispatch method does use the execute wrapper.
However, I can find no error protection for the prepare phase. Since
this issue is caused by a plugin failing during that phase, I get no
error display through the browser. Tried from curl, I get:<br>
<br>
<blockquote type="cite">C:\workspace\ARM>curl
<a class="moz-txt-link-freetext" href="http://localhost:3000/index">http://localhost:3000/index</a><br>
curl: (52) Empty reply from server</blockquote>
<br>
I suggest this is a serious issue, but I cannot claim to have a
strong enough grasp of the overall architecture to suggest how to
resolve it successfully. <br>
<br>
--S<br>
<br>
<div class="moz-signature"><span style="color: rgb(102, 0, 0);">Stuart
Watt<br>
ARM Product Developer<br>
Information Balance</span></div>
<br>
On 8/31/2010 6:03 AM, Eden Cardim wrote:
<blockquote cite="mid:m2aao3jdzs.fsf@gmail.com" type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">"Stuart" == Stuart Watt <a class="moz-txt-link-rfc2396E" href="mailto:swatt@infobal.com"><swatt@infobal.com></a> writes:
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
Stuart> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Stuart> Transitional//EN"> I have a timing/configuration issue, and
Stuart> any pointers would be welcome.
Stuart> The problem: how to handle configuration/system errors
Stuart> by fallback to an error page.
[snip]
Stuart> I could just be missing some documentation: maybe this
Stuart> is covered but I haven't been able to find it.
</pre>
</blockquote>
</body>
</html>