Fixed return error

This commit is contained in:
Sven Heidemann 2021-12-08 07:50:35 +01:00
parent e3ac78f97b
commit a10724a495

View File

@ -144,6 +144,8 @@ class ClientRepositoryService(ClientRepositoryABC):
if client is None:
self._logger.warn(__name__, f'Cannot find client by ids {id}@{server.server_id}')
raise Exception('Value not found')
return client
def apppend_sent_message_count(self, id: int, server_id: int, value: int):
client = self._get_client_and_server(id, server_id)