diff options
Diffstat (limited to 'includes/exception')
-rw-r--r-- | includes/exception/MWExceptionHandler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/exception/MWExceptionHandler.php b/includes/exception/MWExceptionHandler.php index 09e157a5e4a4..35f711dc8579 100644 --- a/includes/exception/MWExceptionHandler.php +++ b/includes/exception/MWExceptionHandler.php @@ -664,7 +664,7 @@ TXT; $logger->error( $json, [ 'private' => true ] ); } - Hooks::run( 'LogException', [ $e, false ] ); + Hooks::runner()->onLogException( $e, false ); } } @@ -709,6 +709,6 @@ TXT; $logger->log( $unfilteredLevel, $json, [ 'private' => true ] ); } - Hooks::run( 'LogException', [ $e, $suppressed ] ); + Hooks::runner()->onLogException( $e, $suppressed ); } } |