Strategická: V API je status
This commit is contained in:
parent
582e0e7385
commit
3bc785763c
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ def api_action():
|
|||
warnings = game.get_logic().validate_move(state.state, team_id, j, round_id)
|
||||
except Exception as e:
|
||||
return json.dumps({
|
||||
"error": "error",
|
||||
"status": "error",
|
||||
"description": f"{type(e).__name__}: {e}"
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue