Making logging level consistent when checker is not found.

This commit is contained in:
karpinski 2017-02-09 11:31:26 +01:00
parent 291803d49a
commit b46fb956b7

View file

@ -110,7 +110,7 @@ class BadFiles(BeetsPlugin):
ext = os.path.splitext(item.path)[1][1:].decode('utf8', 'ignore')
checker = self.get_checker(ext)
if not checker:
self._log.debug(u"no checker specified in the config for {}",
self._log.error(u"no checker specified in the config for {}",
ext)
continue
path = item.path