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 gracefully handle error on no space left #239

Open
haatveit opened this issue May 13, 2024 · 1 comment
Open

More gracefully handle error on no space left #239

haatveit opened this issue May 13, 2024 · 1 comment

Comments

@haatveit
Copy link
Contributor

Currently we fail out with generic 500 when an OSError is raised for the target partition being out of space. It would be nice returning specific errors for being out of space or quota.

@leondutoit
Copy link
Collaborator

Yeah, we can add errno.ENOSPC to

elif hasattr(exc, "errno") and exc.errno == errno.EDQUOT:

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

No branches or pull requests

2 participants