-
Notifications
You must be signed in to change notification settings - Fork 223
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
MNTOR-3393: first pass of refactoring some util functions #4892
Conversation
Preview URL 🚀 : https://blurts-server-pr-4892-mgjlpikfea-uk.a.run.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks much better! I see a stray getMessage
but the other pattern I noticed is that throwing Response
objects that fail the .ok
check probably aren't logging as much info as you want to be able to diagnose failures
@flodolo deleting a string here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm overall but I'm unsure about one part of the error handling.
Cleanup completed - database 'blurts-server-pr-4892' destroyed, cloud run service 'blurts-server-pr-4892' destroyed |
References:
Jira: MNTOR-3393
Description
First pass of some refactoring:
Checklist (Definition of Done)