-
Notifications
You must be signed in to change notification settings - Fork 90
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
Catch DNS error #206
Labels
Bug
Generic bug: can be used together with more specific labels
Comments
JoeLametta
added
the
Bug
Generic bug: can be used together with more specific labels
label
Jan 26, 2018
I think whipper changed in the meantime: this error may be not relevant anymore. |
i've experienced this here just today:
I think the freedb client should catch urllib2.URLError exceptions more gracefully... |
anarcat
added a commit
to anarcat/whipper
that referenced
this issue
Oct 5, 2018
In my repeated tests, I ended up upsetting freedb.org, which started issuing 502 errors. Those errors are not correctly caught by the program which just crashes with a backtrace. Instead, we handle those like any other API error, which can already be generated by perform_lookup (but not handled). The visible result for the user is that the CD is simply not found on FreeDB, an acceptable compromise, in my opinion. Closes: whipper-team#206
JoeLametta
pushed a commit
that referenced
this issue
Oct 6, 2018
* handle FreeDB server errors gracefully In my repeated tests, I ended up upsetting freedb.org, which started issuing 502 errors. Those errors are not correctly caught by the program which just crashes with a backtrace. Instead, we handle those like any other API error, which can already be generated by perform_lookup (but not handled). The visible result for the user is that the CD is simply not found on FreeDB, an acceptable compromise, in my opinion. Closes: #206 * harmonize an error message with other warnings ... which are all capitalized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I temporary had no DNS server (or internet) connection. whipper crashed. This exception could be caught.
The text was updated successfully, but these errors were encountered: