Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit 09c33ef

Browse files
committed
Fixed broken test, testJsonCustomLogicAddsField, custom object was not setup properly
1 parent f7edcc8 commit 09c33ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ class CustomJsonFormatter(jsonlogger.JsonFormatter):
146146

147147
def process_log_record(self, log_record):
148148
log_record["custom"] = "value"
149+
return super(CustomJsonFormatter, self).process_log_record(log_record)
149150

150151
self.logHandler.setFormatter(CustomJsonFormatter())
151152
self.logger.info("message")

0 commit comments

Comments
 (0)