aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2019-11-05 18:47:37 +0100
committern-peugnet <n.peugnet@free.fr>2019-11-06 01:03:22 +0100
commit494da5f44937e55dc1e3180b62e2e6ef98eecc9f (patch)
treee2a7310525af7cf8f24b9df99adea1cc0e762931 /index.php
parentc77fe80b05829fbfd5b94f43a7b709e3f3ec6c0d (diff)
downloadwcms-494da5f44937e55dc1e3180b62e2e6ef98eecc9f.tar.gz
wcms-494da5f44937e55dc1e3180b62e2e6ef98eecc9f.zip
feat: include Sentry for error reporting
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 615769d..061509d 100644
--- a/index.php
+++ b/index.php
@@ -13,6 +13,7 @@ require('./vendor/autoload.php');
$app = new Wcms\Application();
$app->wakeup();
+Sentry\init(['dsn' => Wcms\Config::sentrydsn()]);
try {
$matchoper = new Wcms\Routes();