diff --git a/app/Plugin/EcsLog/Lib/Log/Engine/EcsLog.php b/app/Plugin/EcsLog/Lib/Log/Engine/EcsLog.php index 4e08b1eb3..c15e2ae72 100644 --- a/app/Plugin/EcsLog/Lib/Log/Engine/EcsLog.php +++ b/app/Plugin/EcsLog/Lib/Log/Engine/EcsLog.php @@ -182,10 +182,10 @@ class EcsLog implements CakeLogInterface } /** - * @param Exception $exception + * @param Throwable $exception * @return void */ - public static function handleException(Exception $exception) + public static function handleException(Throwable $exception) { $code = $exception->getCode(); $code = ($code && is_int($code)) ? $code : 1;