what -
This commit is contained in:
@@ -36,7 +36,7 @@ class GameService:
|
|||||||
self._has_started = True
|
self._has_started = True
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
raise ServiceException(e)
|
raise ServiceException(f"Unable to start : {e}")
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self._clock_service.stop()
|
self._clock_service.stop()
|
||||||
@@ -53,7 +53,7 @@ class GameService:
|
|||||||
return img
|
return img
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
raise ServiceException(e)
|
raise ServiceException(f"Failed to move : {e}")
|
||||||
|
|
||||||
def add_move(self, fen):
|
def add_move(self, fen):
|
||||||
self._game.add_move(fen)
|
self._game.add_move(fen)
|
||||||
|
|||||||
Reference in New Issue
Block a user