mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +02:00
linter issues
This commit is contained in:
parent
ac02e8cb81
commit
491ce93b14
2 changed files with 7 additions and 3 deletions
|
@ -479,7 +479,7 @@ class JsonServerFormatter(ServerFormatter):
|
|||
|
||||
if not hasattr(record, "server_time"):
|
||||
record.server_time = self.formatTime(record, self.datefmt)
|
||||
|
||||
|
||||
log_entry = {"server_time": record.server_time, "level": record.levelname, "message": formatted_record}
|
||||
return json.dumps(log_entry)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue