Merge branch 'develop'
This commit is contained in:
commit
6956871d70
@ -89,10 +89,8 @@ class Daemon(util.LoggedClass):
|
|||||||
log_error('starting up checking blocks.')
|
log_error('starting up checking blocks.')
|
||||||
except (asyncio.CancelledError, DaemonError):
|
except (asyncio.CancelledError, DaemonError):
|
||||||
raise
|
raise
|
||||||
except Exception as e:
|
except Exception:
|
||||||
self.log_error(traceback.format_exc())
|
self.log_error(traceback.format_exc())
|
||||||
self.log_error('response was: {}'.format(resp))
|
|
||||||
log_error('request gave unexpected error: {}.'.format(e))
|
|
||||||
|
|
||||||
if secs >= max_secs and len(self.urls) > 1:
|
if secs >= max_secs and len(self.urls) > 1:
|
||||||
self.url_index = (self.url_index + 1) % len(self.urls)
|
self.url_index = (self.url_index + 1) % len(self.urls)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user