-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error management #31
Comments
I've not seen Testing that change:
An example of one of the errors with the current version:
Compared to your suggestion:
So it seems useful, though we'd probably want to do it in such a way as we're not duplicating log output like the above. |
I usually return the error on libraries. Is up to the app to log the error or work with it. The problem I see is that there are too many logs and perhaps we should analyze where makes real sense to log something. |
I think the error management can be improved.
My experience with
cali
up to now is that many errors that are generated does not bring new info:In this case
err
comes from docker API and is pretty self explanatory in the description.Perhaps is better to do something like:
The text was updated successfully, but these errors were encountered: