lastimport: Log error responses

For debugging #1574.
This commit is contained in:
Adrian Sampson 2015-08-24 11:09:45 -07:00
parent 9749d9f134
commit f899ed93ac

View file

@ -88,6 +88,7 @@ def import_lastfm(lib, log):
else:
log.error('ERROR: unable to read page #{0}',
page_current + 1)
log.debug('API response: {}', page)
if retry < retry_limit:
log.info(
'Retrying page #{0}... ({1}/{2} retry)',