mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-10 18:44:03 +00:00
Log AcoustId response body on errors
This commit is contained in:
committed by
Philipp Wolfer
parent
a83b3da075
commit
affe6f38bd
@@ -61,10 +61,11 @@ class AcoustIDClient(QtCore.QObject):
|
||||
if error:
|
||||
mparms = {
|
||||
'error': http.errorString(),
|
||||
'body': document,
|
||||
'filename': file.filename,
|
||||
}
|
||||
log.error(
|
||||
"AcoustID: Lookup network error for '%(filename)s': %(error)r" %
|
||||
"AcoustID: Lookup network error for '%(filename)s': %(error)r, %(body)s" %
|
||||
mparms)
|
||||
self.tagger.window.set_statusbar_message(
|
||||
N_("AcoustID lookup network error for '%(filename)s'!"),
|
||||
|
||||
Reference in New Issue
Block a user