aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-04-20 20:24:44 +0200
committerVincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com>2020-04-21 14:56:53 +0200
commit6a002dde678907abc355e3afecc3b67da866f8cd (patch)
tree5ec0d15161cffa967351166281aa8f34b4f2742e /index.php
parent618b22ab217b773d18abfce8bfe4dd6960738371 (diff)
downloadwcms-6a002dde678907abc355e3afecc3b67da866f8cd.tar.gz
wcms-6a002dde678907abc355e3afecc3b67da866f8cd.zip
tests: add exception phpstan extensions
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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);
}