Skip to content

Commit

Permalink
Update Controller.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisnikoy committed May 9, 2024
1 parent 1454abe commit d96f38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d96f38f

Please sign in to comment.