Tweak daemon messages
This commit is contained in:
parent
ed44c6ab73
commit
c6a57daf6a
@ -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…
Reference in New Issue
Block a user