#1859 - DB query now returns false if the query isn't ran due to the node being off

This commit is contained in:
Chris McCarthy
2023-11-24 11:52:33 +00:00
parent ff8b773c10
commit dfb08b8cf3
2 changed files with 2 additions and 4 deletions

View File

@@ -148,6 +148,7 @@ class DatabaseClient(Application):
# Initialise the tracker of this ID to False
self._query_success_tracker[query_id] = False
return self._query(sql=sql, query_id=query_id)
return False
def receive(self, payload: Any, session_id: str, **kwargs) -> bool:
"""