mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 21:12:43 +01:00
Fix logging of MusicBrainz errors
Eager formatting was actually causing a failure because it looked like a template string with an invalid substitution group.
This commit is contained in:
parent
f2ed7b2373
commit
da019c75e3
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class HumanReadableException(Exception):
|
|||
"""
|
||||
if self.tb:
|
||||
logger.debug(self.tb)
|
||||
logger.error(u'{0}: {1}'.format(self.error_kind, self.args[0]))
|
||||
logger.error(u'{0}: {1}', self.error_kind, self.args[0])
|
||||
|
||||
|
||||
class FilesystemError(HumanReadableException):
|
||||
|
|
|
|||
Loading…
Reference in a new issue