diff options
author | Frankie <git@diskfloppy.me> | 2023-12-31 02:06:10 +0000 |
---|---|---|
committer | Frankie <git@diskfloppy.me> | 2023-12-31 02:06:18 +0000 |
commit | d051dce5b7cbf2fedd7e0f4898730867c6759f79 (patch) | |
tree | 62b6ae2c3ec24eab3dca8a10e2de09aa043645c4 /app/Exceptions | |
parent | 08c8d3e06bcf3c0d6ace0f6e2f4ada568d3af22f (diff) |
Add sentry, update dirlist.css
Diffstat (limited to 'app/Exceptions')
-rw-r--r-- | app/Exceptions/Handler.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 56af264..26fbddf 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -24,7 +24,9 @@ class Handler extends ExceptionHandler public function register(): void { $this->reportable(function (Throwable $e) { - // + if (app()->bound('sentry')) { + app('sentry')->captureException($e); + } }); } } |