Tweak daemon messages

This commit is contained in:
Neil Booth 2016-11-09 06:32:26 +09:00
parent ed44c6ab73
commit c6a57daf6a

View File

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