Skip to content

Commit 0393549

Browse files
committed
Merge branch 'develop' of github.com:MirkoZETA/FlexNetSim-API into develop
2 parents 42ccffd + b36e6b6 commit 0393549

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

backend.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ def run_simulation():
7171
logger.exception("Unexpected error during simulation:")
7272
return jsonify({
7373
"status": "error",
74-
"message": "An unexpected error occurred",
75-
"error": str(e)
74+
"message": "An unexpected error occurred"
7675
}), 500
7776

7877
@app.route("/run_simulation_stream", methods=["POST"])
@@ -159,7 +158,6 @@ def generate():
159158
return jsonify({
160159
"status": "error",
161160
"message": "An unexpected error occurred",
162-
"error": str(e),
163161
"timestamp": time.time()
164162
}), 500
165163

0 commit comments

Comments
 (0)