This commit is contained in:
2025-12-31 13:33:10 +01:00
parent b4330706cd
commit 03d36e1d44
2 changed files with 5 additions and 5 deletions

View File

@@ -56,8 +56,8 @@ def start_party():
print("Party started!")
return jsonify({"status": "ok", "message": "Party started"}), 200
except Exception as ex:
print(e)
return jsonify({"status": "error", "message": f"An error occurred : {e}"}), 500
print(ex)
return jsonify({"status": "error", "message": f"An error occurred : {ex}"}), 500
@app.route("/command/party/play", methods=['POST'])
def make_move():
@@ -65,8 +65,8 @@ def make_move():
game_service.make_move()
return jsonify({"status": "ok", "message": "Party started"}), 200
except Exception as ex:
print(e)
return jsonify({"status": "error", "message": f"An error occurred : {e}"}), 500
print(ex)
return jsonify({"status": "error", "message": f"An error occurred : {ex}"}), 500
if __name__ == "__main__":