mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
One more little tweak. Five hexadecimal digits isn't too hard to 'get'.
This commit is contained in:
parent
fd5463a06b
commit
25ec8f739f
@ -66,7 +66,7 @@ class Logger(logging.Logger):
|
||||
tbinfo = traceback.extract_tb(tb)
|
||||
path = '[%s]' % '|'.join(map(operator.itemgetter(2), tbinfo))
|
||||
eStrId = '%s:%s' % (E, path)
|
||||
eId = hash(eStrId) & 0xFFFF
|
||||
eId = hex(hash(eStrId) & 0xFFFFF)
|
||||
logging.Logger.exception(self, *args)
|
||||
self.error('Exception id: %s', eId)
|
||||
self.error('Exception string: %s', eStrId)
|
||||
|
Loading…
Reference in New Issue
Block a user