Skip to content
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

Merged
4 commits merged into from
Mar 31, 2020
Merged

Conversation

ghost
Copy link

@ghost ghost commented Mar 24, 2020

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.

@ghost ghost force-pushed the meaisiah-assets-fix branch from 2da134c to 2871e5b Compare March 24, 2020 18:37
@ghost ghost changed the title Meaisiah assets fix Fix asset uploader, tweak backend and dev setup Mar 24, 2020
@ghost ghost marked this pull request as ready for review March 24, 2020 19:02
Copy link
Contributor

@MynockSpit MynockSpit left a 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.

@ghost ghost force-pushed the meaisiah-assets-fix branch from 2871e5b to 9dad8d3 Compare March 26, 2020 20:29
res.status(500).json(err)
})
const feedback = await feedbackController.fetchFeedback()
res.status(200).json(feedback)
}
Copy link
Contributor

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?

Copy link
Author

@ghost ghost Mar 30, 2020

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).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect.

@ghost ghost changed the base branch from meaisiah-email-fix to master March 31, 2020 05:12
@ghost ghost merged commit 54d4bfa into master Mar 31, 2020
@ghost ghost deleted the meaisiah-assets-fix branch March 31, 2020 05:17
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants