Or even better at your Appliction::startup do:
 $self->helper( 'reply.exception' => sub { my ($page, $c, $e) = @_; your 
exception handler here } );

for detail you may look at: 
Mojolicious::Plugin::DefaultHelpers::_development 

четверг, 25 августа 2016 г., 18:03:32 UTC+3 пользователь Eugen Konkov 
написал:
>
>
> The best way to do it, I think, is: Mojolicious.pm:190
> https://github.com/kraih/mojo/blob/master/lib/Mojolicious.pm#L190
>
> Thanks for the reply and yes, localising the handler will stop this. 
>
>>
>> Now, is there a *single* place where I can do this? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to