Better errors handling (#8835)
- [ ] Catch this specific `500` error - [ ] Make sure catched `500` errors are sent to sentry for the Cloud version - [ ] Hide the option to sync email with google in this situation where the according env var is missing - [x] Add Worskpace information to all catched errors for better debugging fix #8607
This commit is contained in:
@ -114,8 +114,13 @@ export class GraphQLConfigService
|
||||
email: user.email,
|
||||
firstName: user.firstName,
|
||||
lastName: user.lastName,
|
||||
workspaceId: workspace?.id,
|
||||
workspaceDisplayName: workspace?.displayName,
|
||||
}
|
||||
: undefined,
|
||||
workspace
|
||||
? {
|
||||
id: workspace.id,
|
||||
displayName: workspace.displayName,
|
||||
activationStatus: workspace.activationStatus,
|
||||
}
|
||||
: undefined,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user