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 3c5d5a0 commit 3a45d14
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 @@ -143,7 +143,7 @@ def _restore(e):
return jsonify({"error": "rate limitation"}), 429
except Exception as e:
# general exception handling
logging.error(e)
logging.error("%s", e)
return jsonify({"error": "unknown error"}), 400

try:
Expand Down

0 comments on commit 3a45d14

Please sign in to comment.