add sentry

This commit is contained in:
Benjamin Takats
2022-12-02 10:59:44 +01:00
parent db6d4a6ac2
commit 48d529d4e3
3 changed files with 1063 additions and 2 deletions

View File

@@ -44,7 +44,9 @@ class Handler extends ExceptionHandler
public function register() public function register()
{ {
$this->reportable(function (Throwable $e) { $this->reportable(function (Throwable $e) {
// if (app()->bound('sentry')) {
app('sentry')->captureException($e);
}
}); });
} }
} }

View File

@@ -22,6 +22,7 @@
"livewire/livewire": "^2.5", "livewire/livewire": "^2.5",
"nova/start": "*", "nova/start": "*",
"rappasoft/laravel-livewire-tables": "^2.8", "rappasoft/laravel-livewire-tables": "^2.8",
"sentry/sentry-laravel": "^3.1",
"simplesoftwareio/simple-qrcode": "^4.2", "simplesoftwareio/simple-qrcode": "^4.2",
"spatie/laravel-google-fonts": "^1.2", "spatie/laravel-google-fonts": "^1.2",
"spatie/laravel-medialibrary": "^10.0.0", "spatie/laravel-medialibrary": "^10.0.0",

1060
composer.lock generated

File diff suppressed because it is too large Load Diff