Skip to content

add paths to file error messages #38242

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

Merged
merged 8 commits into from
Nov 10, 2020
Merged

add paths to file error messages #38242

merged 8 commits into from
Nov 10, 2020

Conversation

simonbyrne
Copy link
Contributor

@simonbyrne simonbyrne commented Oct 30, 2020

Makes the error messages for various file operations more descriptive, including the paths and other arguments.

EDIT: closes #38005, closes #33236, closes #33201.

@simonbyrne simonbyrne added the filesystem Underlying file system and functions that use it label Oct 30, 2020
@fredrikekre
Copy link
Member

fixes #38005

@simonbyrne
Copy link
Contributor Author

Also fixes #33236.

@simonbyrne simonbyrne added the error messages Better, more actionable error messages label Oct 30, 2020
@simonbyrne
Copy link
Contributor Author

Also #33201.

@simonbyrne
Copy link
Contributor Author

The FreeBSD failure seems unrelated, and the MacOS failure is on the "clean it out" stage: I suspect this could have been caused by the permissions changes in the builds for #38235.

@simonbyrne
Copy link
Contributor Author

Okay, this is ready to go.

@giordano
Copy link
Contributor

giordano commented Nov 8, 2020

Bump! A few minutes ago I wished this was already merged 😄

@StefanKarpinski
Copy link
Member

Seems like a huge improvement to me! I'm assuming that since these are all I/O operations none of them are performance sensitive enough that having error paths capture variables matters.

@fredrikekre fredrikekre merged commit 53a781d into master Nov 10, 2020
@fredrikekre fredrikekre deleted the sb/file-errormsg branch November 10, 2020 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error messages Better, more actionable error messages filesystem Underlying file system and functions that use it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better libuv error messages better libuv errors mv error message could be more clear
5 participants