Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
Update hivemind_core/service.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
JarbasAl and coderabbitai[bot] authored Dec 20, 2024
1 parent 5e93efe commit 9693a2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hivemind_core/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ def open(self):
loop=self.protocol.loop,
)
if self.db is None:
LOG.error("HiveMind database not initialized, can't validate connection")
LOG.error("Database connection not initialized. Please ensure database configuration is correct.")
LOG.debug(f"Client {client.peer} connection attempt failed due to missing database connection")
self.protocol.handle_invalid_key_connected(self.client)
self.close()
return
Expand Down

0 comments on commit 9693a2e

Please sign in to comment.