Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
gkorland and coderabbitai[bot] authored Dec 21, 2023
1 parent 76c0c21 commit 1d7e3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def correct_json(json_str):
try:
return json.loads(json_str)
except json.JSONDecodeError as e:
logging.error("SanitizationError:", e, "for JSON:", json_str)
logging.error("SanitizationError: %s for JSON: %s", str(e), json_str, exc_info=True)
return None


Expand Down

0 comments on commit 1d7e3f9

Please sign in to comment.