-
Notifications
You must be signed in to change notification settings - Fork 402
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
Fix asset uploader, tweak backend and dev setup #370
Conversation
2da134c
to
2871e5b
Compare
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.
Either a) split this into two PRs (one that's generated files, one that's files you've modified or b) indicate which files are ones you've modified.
Also, rip out some no-longer-used callback URLs
2871e5b
to
9dad8d3
Compare
res.status(500).json(err) | ||
}) | ||
const feedback = await feedbackController.fetchFeedback() | ||
res.status(200).json(feedback) | ||
} |
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.
No 5xx needed or is this caught elsewhere?
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.
It's caught here, and uncaught errors and rejections are forwarded as 5xx errors by AWS Lambda itself (and logged appropriately).
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.
Perfect.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.