From 978225be63abc028101842224b0a4111ae94ccae Mon Sep 17 00:00:00 2001 From: Krystian Jandy <101421631+Krystian030@users.noreply.github.com> Date: Tue, 24 Oct 2023 20:53:13 +0200 Subject: [PATCH] Update src/routers/scene_router.py Co-authored-by: Filip Szweda <68189467+filip-szweda@users.noreply.github.com> --- src/routers/scene_router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routers/scene_router.py b/src/routers/scene_router.py index 44c61f7..7c29028 100644 --- a/src/routers/scene_router.py +++ b/src/routers/scene_router.py @@ -64,7 +64,7 @@ async def add(r: AddObjectDTO, background_tasks: BackgroundTasks): raise HTTPException(status_code=400, detail={"message": f"Player with id: {object.owner} does not exist"}) if player.add_agent_from_object(object) is False: - logger.warning(f"Player with id: {object.owner} cannot add agent") + logger.error(f"Player with id: {object.owner} cannot add agent") cost = player.calculate_slot_cost() raise HTTPException( status_code=400,