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
feat: sentry add email for better support
Andras Bacsaif77df5b73285
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpindex 9bfde1793f..19f47f30b0 100644--- a/app/Exceptions/Handler.php+++ b/app/Exceptions/Handler.php@@ -3,6 +3,7 @@namespace App\Exceptions;use App\Models\InstanceSettings;+use App\Models\User;use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;use Sentry\Laravel\Integration;use Sentry\State\Scope;@@ -56,8 +57,8 @@ class Handler extends ExceptionHandlerfunction (Scope $scope) {$scope->setUser([- 'id' => config('sentry.server_name'),- 'email' => auth()->user()->email+ 'email' => auth()->user()->email,+ 'instanceAdmin' => User::find(0)->email]);}diff --git a/config/sentry.php b/config/sentry.phpindex fa2378cb07..9e80be3b75 100644--- a/config/sentry.php+++ b/config/sentry.php@@ -7,8 +7,7 @@ return [// The release version of your application// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))- 'release' => '4.0.0-beta.38',- 'server_name' => env('APP_ID', 'coolify'),+ 'release' => '4.0.0-beta.39',// When left empty or `null` the Laravel environment will be used'environment' => config('app.env'),diff --git a/config/version.php b/config/version.phpindex e1d830d38b..8d1293e1fa 100644--- a/config/version.php+++ b/config/version.php@@ -1,3 +1,3 @@<?php-return '4.0.0-beta.38';+return '4.0.0-beta.39';diff --git a/versions.json b/versions.jsonindex 3db6ccf65d..afa5d8f403 100644--- a/versions.json+++ b/versions.json@@ -4,7 +4,7 @@"version": "3.12.36"},"v4": {- "version": "4.0.0-beta.38"+ "version": "4.0.0-beta.39"}}}