-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
[CAL-2578] Fix all unhandled errors in handleNewBooking
flow.
#11692
Labels
Comments
hariombalhara
changed the title
Fix all unhandled errors in
[CAL-2578] Fix all unhandled errors in Oct 4, 2023
handleNewBooking
flow. handleNewBooking
flow.
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fix all unhandled errors in
handleNewBooking
flow. Those errors cause a 500 and instead we should server a proper status code with a message.e.g. When a user isn't available for a timeslot we throw error 'Some users are unavailable for booking', it should have been `throw new HttpError({statusCode: 400})
From SyncLinear.com | CAL-2578
The text was updated successfully, but these errors were encountered: