From d96f38f00da18bc2116ec899f7ef3ea6a6dcc46b Mon Sep 17 00:00:00 2001 From: Jannis Nikou Date: Thu, 9 May 2024 11:18:29 -0700 Subject: [PATCH] Update Controller.php --- src/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller.php b/src/Controller.php index f2d93a6..2e790d4 100644 --- a/src/Controller.php +++ b/src/Controller.php @@ -39,7 +39,7 @@ public function __construct() { $this->defaultAction(); } } - } catch (\Exception $e) { + } catch (\Throwable $e) { $this->smarty->assign('error', $e->getMessage()); $this->smarty->assign('fatalError', $e->getCode() == 500); }