mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
Add email to user
This commit is contained in:
@@ -51,7 +51,12 @@ class Handler extends ExceptionHandler
|
|||||||
}
|
}
|
||||||
app('sentry')->configureScope(
|
app('sentry')->configureScope(
|
||||||
function (Scope $scope) {
|
function (Scope $scope) {
|
||||||
$scope->setUser(['id'=> config('sentry.server_name')]);
|
$scope->setUser(
|
||||||
|
[
|
||||||
|
'id' => config('sentry.server_name'),
|
||||||
|
'email' => auth()->user()->email
|
||||||
|
]
|
||||||
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
Integration::captureUnhandledException($e);
|
Integration::captureUnhandledException($e);
|
||||||
|
|||||||
Reference in New Issue
Block a user