diff --git a/app/Mage.php b/app/Mage.php index 360fb12122c..016a49613f1 100644 --- a/app/Mage.php +++ b/app/Mage.php @@ -905,9 +905,9 @@ public static function log($message, $level = null, $file = '', $forceLog = fals /** * Write exception to log * - * @param Exception $e + * @param Throwable $e */ - public static function logException(Exception $e) + public static function logException(Throwable $e) { if (!self::getConfig()) { return; @@ -941,9 +941,9 @@ public static function getIsDeveloperMode() /** * Display exception * - * @param Exception $e + * @param Throwable $e */ - public static function printException(Exception $e, $extra = '') + public static function printException(Throwable $e, $extra = '') { if (self::$_isDeveloperMode) { print '
';