Fix comment

This commit is contained in:
Tim Bentley 2013-12-29 20:09:41 +00:00
parent e6bcf7d852
commit 8b109a8593

View File

@ -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])