mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-10 12:59:22 +01:00
Fix debug logging in some (weird) cases.
This commit is contained in:
parent
d753df9d0c
commit
ef08ea1930
@ -83,7 +83,7 @@ class Logger(logging.Logger):
|
|||||||
eId = hex(hash(eStrId) & 0xFFFFF)
|
eId = hex(hash(eStrId) & 0xFFFFF)
|
||||||
logging.Logger.exception(self, *args)
|
logging.Logger.exception(self, *args)
|
||||||
self.error('Exception id: %s', eId)
|
self.error('Exception id: %s', eId)
|
||||||
self.debug(utils.python.collect_extra_debug_data())
|
self.debug('%s', utils.python.collect_extra_debug_data())
|
||||||
# The traceback should be sufficient if we want it.
|
# The traceback should be sufficient if we want it.
|
||||||
# self.error('Exception string: %s', eStrId)
|
# self.error('Exception string: %s', eStrId)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user