FIX: full name of headphones.exceptions for softchroot

This commit is contained in:
maxkoryukov
2016-03-20 16:55:41 +05:00
parent 56a9c62bcb
commit e1eab37502

View File

@@ -143,7 +143,7 @@ def initialize(config_file):
SOFT_CHROOT = SoftChroot(str(CONFIG.SOFT_CHROOT))
if SOFT_CHROOT.isEnabled():
logger.info("Soft-chroot enabled for dir: %s", str(CONFIG.SOFT_CHROOT))
except exceptions.SoftChrootError as e:
except headphones.exceptions.SoftChrootError as e:
logger.error("SoftChroot error: %s", e)
raise e