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

Some rework of top level error handling #8791

Merged
merged 2 commits into from
Feb 12, 2020
Merged

Conversation

waj
Copy link
Member

@waj waj commented Feb 12, 2020

In this PR I did some refactors and changes from the previous PR I sent (#8735)

Basically errors raised at at_exit handlers are also reported using print_error and also exceptions raised when flushing STDOUT and STDERR are now ignored to avoid duplicate errors like #7810

Fixes #7810

…Ignore IO errors when flushing stdio streams.
@waj waj added kind:bug A bug in the code. Does not apply to documentation, specs, etc. kind:refactor topic:stdlib:runtime labels Feb 12, 2020
@bcardiff bcardiff added this to the 0.33.0 milestone Feb 12, 2020
@bcardiff bcardiff merged commit 9488de0 into master Feb 12, 2020
@waj waj deleted the fix/error-handling-rework branch February 12, 2020 20:03
@waj waj restored the fix/error-handling-rework branch February 12, 2020 20:05
@waj waj deleted the fix/error-handling-rework branch February 12, 2020 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. kind:refactor topic:stdlib:runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken pipe if stdout is piped to head utility
3 participants