From 053f96dec1ef9c581ea9bd2e03b4887f59d650dc Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Fri, 28 Jun 2019 13:39:04 +0300 Subject: [PATCH] Make `Debugger::addException()` to accept \Throwable --- system/src/Grav/Common/Debugger.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/src/Grav/Common/Debugger.php b/system/src/Grav/Common/Debugger.php index dd0bc28e2..39aab9e87 100644 --- a/system/src/Grav/Common/Debugger.php +++ b/system/src/Grav/Common/Debugger.php @@ -705,10 +705,10 @@ class Debugger /** * Dump exception into the Messages tab of the Debug Bar * - * @param \Exception $e + * @param \Throwable $e * @return Debugger */ - public function addException(\Exception $e) + public function addException(\Throwable $e) { if ($this->initialized && $this->enabled) { if ($this->debugbar) {