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

More meaningful error message when a subprocess is killed #414

Merged
merged 1 commit into from Mar 22, 2021

Conversation

Schniz
Copy link
Owner

@Schniz Schniz commented Mar 22, 2021

When a process is terminated with a signal, there is no exit code.
This will result in a unwrap that fails. We are better than this!
So this PR provides a clear error why we can't read the exit code.

This PR does not change behavior. I think that if we can't get the exit code we should treat as if it is an error. Which is what implemented here.

@Schniz Schniz self-assigned this Mar 22, 2021
@vercel
Copy link

vercel bot commented Mar 22, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/schniz/fnm/BziJpAPGomVP3KEiXmh6ZqweHC5M
✅ Preview: https://fnm-git-more-meaningful-error-in-signal-killing-schniz.vercel.app

@Schniz Schniz added the PR: Bugfix A bug was fixed label Mar 22, 2021
@Schniz Schniz merged commit 2cfaa39 into master Mar 22, 2021
@Schniz Schniz deleted the more-meaningful-error-in-signal-killing branch March 22, 2021 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Bugfix A bug was fixed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant