From 3a45d140c86fd2da065f0cafc636348e3ab6f5d7 Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Thu, 21 Dec 2023 14:10:11 +0200 Subject: [PATCH] Update main.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0263a76..a7c0e34 100644 --- a/main.py +++ b/main.py @@ -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: