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: