We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ad48a commit 86d500aCopy full SHA for 86d500a
lib/Dancer2/Core/App.pm
@@ -1213,7 +1213,7 @@ sub compile_hooks {
1213
# Don't execute the hook_exception hook if the exception
1214
# has been generated from a hook exception handler itself,
1215
# thus preventing potentially recursive code.
1216
- $self->execute_hook( 'core.app.hook_exception', $app, $err )
+ $app->execute_hook( 'core.app.hook_exception', $app, $err )
1217
unless $position eq 'core.app.hook_exception';
1218
my $is_halted = $app->response->is_halted; # Capture before cleanup
1219
# We can't cleanup if we're in the hook for a hook
0 commit comments