From e5f59d39268b552c6b8416d5f0d8294ec19e26f3 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Tue, 21 Apr 2020 01:44:13 +0200 Subject: feat: add Logger class to log catched errors Previously, if Sentry was not enabled, the Exceptions weren't logged anywhere. I expect you to use this class in the future @vincent-peugnet ! --- index.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index f7f6843..fb05952 100644 --- a/index.php +++ b/index.php @@ -1,10 +1,13 @@ wakeup(); @@ -30,5 +33,6 @@ try { if (isreportingerrors()) { Sentry\captureException($e); } + Logger::exception($e, true); echo '

⚠ Woops ! There is a little problem :

', $e->getMessage(), "\n"; } -- cgit v1.2.3