Skip to content

Commit 5453e53

Browse files
committed
Merge branch 'main' into feature/new-billing-flow
# Conflicts: # composer.json # composer.lock
2 parents 883eace + f3bee74 commit 5453e53

File tree

5 files changed

+597
-5
lines changed

5 files changed

+597
-5
lines changed

app/Exceptions/Handler.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace App\Exceptions;
44

55
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
6+
use Sentry\Laravel\Integration;
67
use Throwable;
78

89
class Handler extends ExceptionHandler
@@ -18,13 +19,10 @@ class Handler extends ExceptionHandler
1819
'password_confirmation',
1920
];
2021

21-
/**
22-
* Register the exception handling callbacks for the application.
23-
*/
2422
public function register(): void
2523
{
2624
$this->reportable(function (Throwable $e) {
27-
//
25+
Integration::captureUnhandledException($e);
2826
});
2927
}
3028
}

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"laravel/tinker": "^2.8",
1919
"league/commonmark": "^2.4",
2020
"livewire/livewire": "^3.6",
21+
"sentry/sentry-laravel": "^4.13",
2122
"spatie/laravel-menu": "^4.1",
2223
"spatie/yaml-front-matter": "^2.0",
2324
"symfony/http-client": "^7.2",

0 commit comments

Comments
 (0)