Skip to content

OSError tweaks - #5003

Merged
mrocklin merged 1 commit into
dask:mainfrom
crusaderky:oserror
Jun 30, 2021
Merged

mrocklin merged 1 commit into
dask:mainfrom
crusaderky:oserror

Conversation

@crusaderky

Copy link
Copy Markdown
Collaborator

Follow-up to #4741
Related to #4989

Comment thread distributed/core.py
func()

except (CommClosedError, OSError):
except OSError:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

CommClosedError is a subclass of OSError

Comment thread distributed/nanny.py
continue
else:
raise e
raise

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is subtly different, as it retains the original traceback!

@fjetter fjetter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@crusaderky

Copy link
Copy Markdown
Collaborator Author

@fjetter @jrbourbeau ready for merge

@mrocklin
mrocklin merged commit 7ed517c into dask:main Jun 30, 2021
@crusaderky
crusaderky deleted the oserror branch July 1, 2021 00:10
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.

3 participants