I'm submitting a ... (check one with "x")
Current behavior:
Please see the comment https://github.com/fossasia/badgeyay/pull/46#discussion_r138542555 for a description and context.
A generic error is caught and not printed out.
Expected behavior:
Errors should not pass silently.
Steps to reproduce:
Please see the comment https://github.com/fossasia/badgeyay/pull/46#discussion_r138542555
A generic error is caught and not printed out.
Should we also show an error message to user in every case? Not all errors are relevant to users.
For instance, if the server fail to delete the files, the app would still work. So displaying error to user would not be useful.
I'll do it! :+1:
@gabru-md Hi, great to have you here. Have fun and don't forget to tell us if you don't :)
@niccokunzmann i was wondering if we should check for all the errors?
I mean it could be better to log all the errors.
Thanks!
All uncaught errors will be printed automatically.
If you catch a specific error, this is ok, if you know when it happens. Catching and Exception is too generic and should not be silent.
So, I would not log all the errors which I know can happen.
If you think, other errors should be printed, you can create a PR.