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 email to user
Andras Bacsai9cda671aeff8
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpindex 17db86d13b..8fe4a1130d 100644--- a/app/Exceptions/Handler.php+++ b/app/Exceptions/Handler.php@@ -50,8 +50,13 @@ class Handler extends ExceptionHandlerreturn;}app('sentry')->configureScope(- function (Scope $scope){- $scope->setUser(['id'=> config('sentry.server_name')]);+ function (Scope $scope) {+ $scope->setUser(+ [+ 'id' => config('sentry.server_name'),+ 'email' => auth()->user()->email+ ]+ );});Integration::captureUnhandledException($e);