mirror of
https://github.com/beetbox/beets.git
synced 2025-12-20 23:53:15 +01:00
Add params to debug
This commit is contained in:
parent
7209c5f922
commit
b64cefb0d0
1 changed files with 2 additions and 2 deletions
|
|
@ -194,8 +194,8 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin):
|
|||
time.sleep(int(seconds) + 1)
|
||||
return self._handle_response(request_type, url, params=params)
|
||||
elif response.status_code == 404:
|
||||
raise SpotifyAPIError("API Error {0.status_code} for {1}"
|
||||
.format(response, url))
|
||||
raise SpotifyAPIError("API Error {0.status_code} for {1} and \
|
||||
params = {2}".format(response, url, params=params))
|
||||
else:
|
||||
raise ui.UserError(
|
||||
'{} API error:\n{}\nURL:\n{}\nparams:\n{}'.format(
|
||||
|
|
|
|||
Loading…
Reference in a new issue