KES777 / mojo

Mojolicious - Perl real-time web framework
http://mojolicio.us
Artistic License 2.0
0 stars 0 forks source link

possible simplification while rendering exception #64

Open KES777 opened 5 years ago

KES777 commented 5 years ago

When exception occur the {exception} stash value is created thus instead of two checks as described here may I do just one?

return unless $c->stash->{exception}