mirror of https://github.com/zulip/zulip.git
Humbug errors: Remove unnecessary newlines in tracebacks.
(imported from commit ad5834fa32e13ede1c634e4e9e535d84eb833c95)
This commit is contained in:
parent
8d5d45f3a0
commit
25d95e25c8
|
@ -44,7 +44,7 @@ class AdminHumbugHandler(logging.Handler):
|
||||||
subject = self.format_subject(subject)
|
subject = self.format_subject(subject)
|
||||||
|
|
||||||
if record.exc_info:
|
if record.exc_info:
|
||||||
stack_trace = '\n'.join(traceback.format_exception(*record.exc_info))
|
stack_trace = ''.join(traceback.format_exception(*record.exc_info))
|
||||||
else:
|
else:
|
||||||
stack_trace = 'No stack trace available'
|
stack_trace = 'No stack trace available'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue