Browse Source

Tweak daemon messages

master
Neil Booth 8 years ago
parent
commit
c6a57daf6a
  1. 4
      server/daemon.py

4
server/daemon.py

@ -86,11 +86,11 @@ class Daemon(util.LoggedClass):
except aiohttp.ClientHttpProcessingError: except aiohttp.ClientHttpProcessingError:
msg = 'HTTP error' msg = 'HTTP error'
except aiohttp.ServerDisconnectedError: except aiohttp.ServerDisconnectedError:
msg = 'daemon disconnected' msg = 'disconnected'
except aiohttp.ClientConnectionError: except aiohttp.ClientConnectionError:
msg = 'connection problem - is your daemon running?' msg = 'connection problem - is your daemon running?'
except DaemonWarmingUpError: except DaemonWarmingUpError:
msg = 'daemon is still warming up' msg = 'still starting up checking blocks...'
if msg != prior_msg or count == 10: if msg != prior_msg or count == 10:
self.logger.error('{}. Retrying between sleeps...' self.logger.error('{}. Retrying between sleeps...'

Loading…
Cancel
Save