We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42ccffd + b36e6b6 commit 0393549Copy full SHA for 0393549
1 file changed
backend.py
@@ -71,8 +71,7 @@ def run_simulation():
71
logger.exception("Unexpected error during simulation:")
72
return jsonify({
73
"status": "error",
74
- "message": "An unexpected error occurred",
75
- "error": str(e)
+ "message": "An unexpected error occurred"
76
}), 500
77
78
@app.route("/run_simulation_stream", methods=["POST"])
@@ -159,7 +158,6 @@ def generate():
159
158
160
161
"message": "An unexpected error occurred",
162
- "error": str(e),
163
"timestamp": time.time()
164
165
0 commit comments