Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

HH-33260 exception logging fix

  • Loading branch information...
commit 455d262676c23ddf0ffcece00502d33f1ab58b4c 1 parent f2964d4
@katraev katraev authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  frontik/frontik_logging.py
View
2  frontik/frontik_logging.py
@@ -30,7 +30,7 @@ def handle_bulk(self, records_list, stages=None, status_code=None, exception=Non
record_for_gelf.short = record.message
if record.exc_info is not None:
record_for_gelf.exc_info=traceback.format_exc(record.exc_info)
- record.short += "\n" + traceback.format_exc(record.exc_info)
+ record_for_gelf.short += "\n" + traceback.format_exc(record.exc_info)
record_for_gelf.message += " {0} {1} {2} \n".format(record.asctime, record.levelname,record.message)
if stages is not None:
for stage_name, stage_start, stage_delta in stages:
Please sign in to comment.
Something went wrong with that request. Please try again.