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

Use more specific error codes #830

Open
joaquimrocha opened this issue May 3, 2017 · 1 comment
Open

Use more specific error codes #830

joaquimrocha opened this issue May 3, 2017 · 1 comment

Comments

@joaquimrocha
Copy link
Contributor

Recently we've had an issue when OSTree cannot find a file object. We implemented a workaround based on the detection of the G_IO_ERROR_NOT_FOUND but this error is being returned in other places, for different reasons so it's easy that eventually we end up matching the same error when the cause is not a missing file object.

I would like to know whether this could be a real a problem and, if so, propose to return more specific errors for (at least) the places where the G_IO_ERROR_NOT_FOUND is being returned.

@cgwalters
Copy link
Member

Hmm. I think this could be a symptom of #813 - if another operation is happening concurrently, it absolutely could delete pending objects.

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