This commit is contained in:
2026-01-05 20:21:36 +01:00
parent b454ab4e83
commit 5328ebd01b

View File

@@ -36,7 +36,7 @@ class GameService:
self._has_started = True
except Exception as e:
print(e)
raise ServiceException(e)
raise ServiceException(f"Unable to start : {e}")
def stop(self):
self._clock_service.stop()
@@ -53,7 +53,7 @@ class GameService:
return img
except Exception as e:
print(e)
raise ServiceException(e)
raise ServiceException(f"Failed to move : {e}")
def add_move(self, fen):
self._game.add_move(fen)