-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server crash if 500 is thrown #8607
Comments
Bumping this one to prio high |
I will like to work on this issue. |
Did you find out anything @myspace20 ? |
I was a little busy. I will find some time to look at it again. |
Technical suggestion
FurtherMore
|
From what I see, the server crash happens with AuthException errors.
However, If i manually throw an My guess : Yoga catches properly the error. We need to find out who calls the other errors. Suspect :
Edit : |
- [ ] 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 twentyhq#8607
Bug Description
Context
I found out this issue locally running on macOS the command
npx nx run twenty-server:start
I was trying to sync emails on a setup where the google env var were not defined.
The bug
The server crashes, and no other request can be handled by the server until it is manually restarted.
Expected behavior
To be discussed further with @charlesBochet
The text was updated successfully, but these errors were encountered: