forked from openlp/openlp
head
This commit is contained in:
parent
151f1017c5
commit
576ab6e1f9
@ -53,7 +53,7 @@ def trace_error_handler(logger):
|
|||||||
"""
|
"""
|
||||||
log_string = "OpenLP Error trace"
|
log_string = "OpenLP Error trace"
|
||||||
for tb in traceback.extract_stack():
|
for tb in traceback.extract_stack():
|
||||||
log_string = ('%s\n File %s at line %d \n\t called %s' % (log_string, tb[0], tb[1], tb[3]))
|
log_string = '%s\n File %s at line %d \n\t called %s' % (log_string, tb[0], tb[1], tb[3])
|
||||||
logger.error(log_string)
|
logger.error(log_string)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user