[cgiapp] 500 error on missing runlevel
Stewart L
stewartl42+cgiapp at gmail.com
Thu Mar 19 15:07:05 EDT 2009
AUTOLOAD worked great. Thanks for thae help and the fast response.
On Thu, Mar 19, 2009 at 2:58 PM, Stewart L <stewartl42 at gmail.com> wrote:
> AUTOLOAD worked great. Thanks for thae help and the fast response.
>
> Stew
>
>
>
> On Thu, Mar 19, 2009 at 2:53 PM, fREW Schmidt <frioux at gmail.com> wrote:
>
>> On Thu, Mar 19, 2009 at 1:01 PM, Steve <steve at octane.to> wrote:
>>
>> > 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.
>> >
>> >
>>
>> http://search.cpan.org/dist/CGI-Application/lib/CGI/Application.pm
>> Search for AUTOLOAD. That should do what you want.
>>
>>
>> --
>> fREW Schmidt
>> http://blog.afoolishmanifesto.com
>>
>> ##### CGI::Application community mailing list ################
>> ## ##
>> ## To unsubscribe, or change your message delivery options, ##
>> ## visit: http://lists.openlib.org/mailman/listinfo/cgiapp ##
>> ## ##
>> ## Web archive: http://lists.openlib.org/pipermail/cgiapp/ ##
>> ## Wiki: http://cgiapp.erlbaum.net/ ##
>> ## ##
>> ################################################################
>>
>>
>
>
> --
> Stewart
> --
> If you see yourself in others, then whom can you harm?
>
--
Stewart
--
If you see yourself in others, then whom can you harm?
More information about the cgiapp
mailing list