-
Notifications
You must be signed in to change notification settings - Fork 42
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
Improve error reporting for sqlite errors #141
Comments
Oh wow, that's surprising as the majority of the error handling tries to add some details to the operation that was being run. Of course, there may be corner cases where this is not being done. How can I set things up to reproduce this? I'd need to track down where exactly this particular exception was raised so that the message can be fixed. |
|
Hmm... the only thing that uses locking is sqlite, so the problem ought to be coming from that end. That narrows the possibilities quite a bit. |
Simple code inspection shows plenty of places in the store module that rewrap sqlite errors without adding details to them. I'll target fixing those as part of this bug. |
Thanks! |
I happened to run kyua on an NFS root test box and it reports:
It turns out this is because I didn't have lockd running.
Error messages like this ought to include information to help diagnose the issue -- for instance, reporting the file name and the operation that failed.
The text was updated successfully, but these errors were encountered: