Browse Source

Merge pull request #2917 from SomberNight/get_server

log: identify exception source in log for daemon/get_server
seed_v14
ThomasV 7 years ago
committed by GitHub
parent
commit
c43b48f4f5
  1. 3
      lib/daemon.py

3
lib/daemon.py

@ -87,8 +87,7 @@ def get_server(config):
server.ping() server.ping()
return server return server
except Exception as e: except Exception as e:
print_error(e) print_error("[get_server]", e)
pass
if not create_time or create_time < time.time() - 1.0: if not create_time or create_time < time.time() - 1.0:
return None return None
# Sleep a bit and try again; it might have just been started # Sleep a bit and try again; it might have just been started

Loading…
Cancel
Save