An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Add affected users to sentry
Andras Bacsai71e1571c39fe
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpindex 9d9dabab60..d8cf0c9cfb 100644--- a/app/Exceptions/Handler.php+++ b/app/Exceptions/Handler.php@@ -5,6 +5,7 @@ namespace App\Exceptions;use App\Models\InstanceSettings;use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;use Sentry\Laravel\Integration;+use Sentry\State\Scope;use Throwable;class Handler extends ExceptionHandler@@ -48,6 +49,11 @@ class Handler extends ExceptionHandlerif ($this->settings->do_not_track || isDev()) {return;}+ app('sentry')->configureScope(+ function (Scope $scope){+ $scope->setUser(['id'=> config('sentry.server_name')]);+ }+ );Integration::captureUnhandledException($e);});}diff --git a/versions.json b/versions.jsonindex d50394f5b8..8f7d88515f 100644--- a/versions.json+++ b/versions.json@@ -4,7 +4,7 @@"version": "3.12.36"},"v4": {- "version": "4.0.0-beta.21"+ "version": "4.0.0-beta.22"}}}