On 3 Jul 2009, at 08:33, [email protected] wrote:
I can see that a $c->error () is being called in one of my controllers
You mean you're calling $c->error yourself in your own controller code?
and the Room->end has been called (thanks to my debugging messages
above) BUT the $c->error doesn't seem to be detected in the Room->end
that I have. Instead, i see "nothign done" being printed out.
You haven't shown us the code you're putting stuff into $c->error
with, therefore it's pretty hard to tell how you're doing it wrong.
Try just putting:
die("An error")
into your controller code, and you should see that captured in $c-
>error when it gets to your end action
Cheers
t0m
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/