We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d86c2ec commit ca6ac55Copy full SHA for ca6ac55
examples/flask/routes/auth.py
@@ -35,7 +35,8 @@ def signup():
35
}), 201
36
37
except Exception as e:
38
- return jsonify({"error": f"Signup failed: {str(e)}"}), 400
+ logger.error("Exception in signup: %s\n%s", str(e), traceback.format_exc())
39
+ return jsonify({"error": "Signup failed. Please try again later."}), 400
40
41
42
@bp.route("/signin", methods=["POST"])
0 commit comments