From 6a002dde678907abc355e3afecc3b67da866f8cd Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 20 Apr 2020 20:24:44 +0200 Subject: tests: add exception phpstan extensions --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index caa6ddf..f7f6843 100644 --- a/index.php +++ b/index.php @@ -26,7 +26,7 @@ if (isreportingerrors()) { try { $matchoper = new Wcms\Routes(); $matchoper->match(); -} catch (Exception $e) { +} catch (Throwable $e) { if (isreportingerrors()) { Sentry\captureException($e); } -- cgit v1.2.3