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

give better error when lambda fails to start #155

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Aug 5, 2020

motivation: in error cases where lamnda fails to start the process fails silently and exists with code 0

changes: change the blocking API to check on the result and fatalError if lambda cannot be started / run

motivation: in error cases where lamnda fails to start the process fails silently and exists with code 0

changes: change the blocking API to check on the result and fatalError if lambda cannot be started / run
@tomerd
Copy link
Contributor Author

tomerd commented Aug 5, 2020

I am not 100% about this fix but probably better than what we have now. @fabianfett wdyt?

@tomerd
Copy link
Contributor Author

tomerd commented Aug 5, 2020

fixes #148

@tomerd tomerd linked an issue Aug 5, 2020 that may be closed by this pull request
@tomerd tomerd added the patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1) label Aug 5, 2020
@tomerd tomerd added this to the 0.3.0 milestone Aug 5, 2020
@tomerd tomerd requested a review from fabianfett August 5, 2020 19:04
Copy link
Member

@fabianfett fabianfett left a comment

Choose a reason for hiding this comment

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

I am not 100% about this fix but probably better than what we have now. @fabianfett wdyt?

100% agree.

@tomerd tomerd merged commit 9ebc9dd into swift-server:master Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Local Server Immediate Exit code: 0 (Xcode 12 b3)
2 participants