beets: Better error message when MusicBrainz is unreachable

A user recently was confused by a terrible error message when their DNS was misconfigured:

Error: "caused by: <urlopen error [Errno -2] Name or service not known>" in
release search with query blah blah blah...

It would be great to have this instead print “MusicBrainz not reachable” (maybe with more info in the verbose log).

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 17 (7 by maintainers)

Commits related to this issue

Most upvoted comments

We actually had a complete web service outage most of this (Europe time) night: http://chatlogs.metabrainz.org/brainzbot/metabrainz/msg/3596003/ - so musicbrainz.org/ws/ was inaccessible while musicbrainz.org worked fine.