summaryrefslogtreecommitdiff
path: root/GPLv2
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-02-24 21:48:34 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-02-25 21:41:26 +0100
commitb840a254c1ca755123d4b02907ee27c08a6a4ec9 (patch)
treebdf27a62f52f00c79a1e9fd6be86528afc55836a /GPLv2
parent4e4a5b8a91b3a5737773aab0ed7e67180f01a982 (diff)
lastfm: catch all errors when connecting
Since httputil.get_response() can raise exceptions, catch them into an appropriate block. Turn a missing response body into a runtime error to handle this error conditions consistently with other exceptions.
Diffstat (limited to 'GPLv2')
0 files changed, 0 insertions, 0 deletions