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

handle lambda error correctly in mock server #104

Merged
merged 1 commit into from
Jun 1, 2020
Merged

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Jun 1, 2020

motivation: better mock server

changes:

  • add handler for :requestID/error
  • return .accepted to lambda
  • return .internalServerError to client + error json
  • small refactoring of response code in mock server to make it DRYer

motivation: better mock server

changes:
* add handler for :requestID/error
* return .accepted to lambda
* return .internalServerError to client + error json
* small refactoring of response code in mock server to make it DRYer
@tomerd tomerd requested a review from fabianfett June 1, 2020 20:07
@tomerd
Copy link
Contributor Author

tomerd commented Jun 1, 2020

fixed #100

@tomerd tomerd added this to the 0.1.1 milestone Jun 1, 2020
@fabianfett fabianfett linked an issue Jun 1, 2020 that may be closed by this pull request
@fabianfett
Copy link
Member

Perfect. This will solve a lot of headaches!

@tomerd tomerd merged commit 3b29513 into master Jun 1, 2020
@tomerd tomerd deleted the fix/mock-init-error branch June 1, 2020 20:15
@tomerd tomerd changed the title handle lambda error corrctly in mock server handle lambda error correctly in mock server Jun 1, 2020
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.

LocalServer does not expose /error endpoint
2 participants