commit
d66831ee8c
|
@ -4,7 +4,7 @@ module MusicBrainz
|
|||
def get_contents(url)
|
||||
response = http.get(url)
|
||||
{ body: response.body, status: response.status }
|
||||
rescue
|
||||
rescue Faraday::Error::ClientError
|
||||
{ body: nil, status: 500 }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue