[Nitro] Redirecting to error action/method

Lars Olsson lasso at lassoweb.se
Wed Dec 6 13:44:27 EST 2006


Thanks Jonathan! It was actually a coding error on my part that caused 
the strange effect I saw.

<mad ramblings aimed_at="no_one_in_particular">
WHY WHY WHY is Nitro::NoActionError renamed to Nitro::ActionError 
WITHOUT A BIG SIGN declaring the change in the release notes??? Now I 
hade to go through the darcs changelog to find out...Important API 
changes need to be documented better!!!
</mad ramblings>

/lasso

Jonathan Buch skrev:
> Hi,
> 
>> In Nitro 0.31 and earlier all errors raised was automatically redirected
>> to the error action/method . In 0.40, this doesn't work. My error method
>> never get called, some kind of default error page appears instead. Any
>> hints on how to fix this?
> 
> This still happens with Oxy which also has a custom error page.
> 
> I don't have an error action, only a `error.xhtml` in my template root dir
> though.  Maybe that does the trick?
> 
> Jo


More information about the Nitro-general mailing list