mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
daemon: clarify error print
This commit is contained in:
parent
0862fdb9a9
commit
ca8eae919f
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def get_server(config: SimpleConfig) -> Optional[jsonrpclib.Server]:
|
|||
server.ping()
|
||||
return server
|
||||
except Exception as e:
|
||||
print_error("[get_server]", e)
|
||||
print_error(f"failed to connect to JSON-RPC server: {e}")
|
||||
if not create_time or create_time < time.time() - 1.0:
|
||||
return None
|
||||
# Sleep a bit and try again; it might have just been started
|
||||
|
|
Loading…
Add table
Reference in a new issue