use warning log instead of info

This commit is contained in:
iLLiCiTiT 2019-11-05 10:19:50 +01:00
parent 0957cffbfd
commit 3833adb30a

View file

@ -96,7 +96,7 @@ class BaseHandler(object):
'!{} "{}" - You\'re missing required {} permissions'
).format(self.type, label, str(MPE)))
except AssertionError as ae:
self.log.info((
self.log.warning((
'!{} "{}" - {}'
).format(self.type, label, str(ae)))
except NotImplementedError:
@ -104,7 +104,7 @@ class BaseHandler(object):
'{} "{}" - Register method is not implemented'
).format(self.type, label))
except PreregisterException as exc:
self.log.info((
self.log.warning((
'{} "{}" - {}'
).format(self.type, label, str(exc)))
except Exception as e: