On Thu, Mar 18, 2010 at 3:03 PM, David <oldskif...@yahoo.es> wrote: > Hi, > > > I am not sure how to manage errors in my Catalyst application. When I detect > an error, I forward the error to my Error View, but the execution doesn't > stop. > > When my application was not in Catalyst, I used "exit 1;" once I had done > forward to my Error View, but this doesn't work in my Catalyst application. > > Is there a politely way in Catalyst of cutting the execution process when I > find an error and forward this error to my Error View?
You must be running with fork mode on or via some process manager. We need further information about how you're running the application before telling you what to do. -- Eden Cardim Need help with your Catalyst or DBIx::Class project? Code Monkey http://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://edenc.vox.com/ http://www.shadowcat.co.uk/servers/ _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/