fix: boarding

fix: error handling
fix: restarting state
This commit is contained in:
Andras Bacsai committed 2023-09-15 15:34:25 +02:00
1 parent fcf7c5ddd5
commit da4c2ee60f
71 files changed
+326 -290

No files matched your search

+4 -1
View File
@@ -45,8 +45,11 @@ class Handler extends ExceptionHandler
public function register(): void
{
$this->reportable(function (Throwable $e) {
if (isDev()) {
return;
}
$this->settings = InstanceSettings::get();
if ($this->settings->do_not_track || isDev()) {
if ($this->settings->do_not_track) {
return;
}
app('sentry')->configureScope(