message: don't indent the traceback
This shouldn't be needed anymore with json-logging.
This commit is contained in:
parent
65e5a3fe09
commit
5f2d5feb58
@ -50,8 +50,8 @@ def _log_stack(typ, stack):
|
|||||||
stack = stack.splitlines()
|
stack = stack.splitlines()
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
indented = '\n'.join(' ' + line.rstrip() for line in stack)
|
stack_text = '\n'.join(line.rstrip() for line in stack)
|
||||||
log.message.debug("Stack for {} message:\n{}".format(typ, indented))
|
log.message.debug("Stack for {} message:\n{}".format(typ, stack_text))
|
||||||
|
|
||||||
|
|
||||||
def _wrapper(win_id, method_name, text, *args, **kwargs):
|
def _wrapper(win_id, method_name, text, *args, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user