aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrankie <git@diskfloppy.me>2023-12-31 02:06:10 +0000
committerFrankie <git@diskfloppy.me>2023-12-31 02:06:18 +0000
commitd051dce5b7cbf2fedd7e0f4898730867c6759f79 (patch)
tree62b6ae2c3ec24eab3dca8a10e2de09aa043645c4 /app
parent08c8d3e06bcf3c0d6ace0f6e2f4ada568d3af22f (diff)
Add sentry, update dirlist.css
Diffstat (limited to 'app')
-rw-r--r--app/Exceptions/Handler.php4
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);
+ }
});
}
}