[cgiapp] 500 error on missing runlevel

Steve steve at octane.to
Thu Mar 19 14:01:07 EDT 2009


Are you using either CGI::Application::Dispatch or CGI::Carp 
qw(fatalsToBrowser)?

---
Steve Comrie

Stewart L wrote:
> Tried digging a bit through the archives and didn't find anything on this.
>
> If someone does something weird and calls a runlevel that does not exist,
> the application returns a 500 Server error and the message 'no such run
> level'.
>
> Is there a way to handle this more gracefully than have the application
> crash?  I'd like to return an error page.
>
>   



More information about the cgiapp mailing list