Skip to content
Browse files

HH-33260 exception logging fix

  • Loading branch information...
1 parent f2964d4 commit 455d262676c23ddf0ffcece00502d33f1ab58b4c @katraev katraev committed Apr 1, 2013
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:

0 comments on commit 455d262

Please sign in to comment.
Something went wrong with that request. Please try again.