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()
return server
except Exception as e:
print_error(e)
pass
print_error("[get_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…
Cancel
Save