From f899ed93acdb2aef4cbd7dd3af894df55d113d8e Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Mon, 24 Aug 2015 11:09:45 -0700 Subject: [PATCH] lastimport: Log error responses For debugging #1574. --- beetsplug/lastimport.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beetsplug/lastimport.py b/beetsplug/lastimport.py index b614102fd..c2ba976fa 100644 --- a/beetsplug/lastimport.py +++ b/beetsplug/lastimport.py @@ -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)',