forked from openlp/openlp
Fix comment
This commit is contained in:
parent
e6bcf7d852
commit
8b109a8593
@ -50,7 +50,7 @@ def trace_error_handler(logger):
|
|||||||
Log the calling path of an exception
|
Log the calling path of an exception
|
||||||
|
|
||||||
'logger'
|
'logger'
|
||||||
Logger to use so traceback is logged to correct class
|
logger to use so traceback is logged to correct class
|
||||||
"""
|
"""
|
||||||
for tb in traceback.extract_stack():
|
for tb in traceback.extract_stack():
|
||||||
logger.error('Called by ' + tb[3] + ' at line ' + str(tb[1]) + ' in ' + tb[0])
|
logger.error('Called by ' + tb[3] + ' at line ' + str(tb[1]) + ' in ' + tb[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user