Mercurial > templog
diff py/configwaiter.py @ 562:55cae4f27e75
catch timeout
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 10 Jun 2015 00:13:26 +0800 |
parents | 830ee5663703 |
children | 78c542f03030 |
line wrap: on
line diff
--- a/py/configwaiter.py Wed Jun 10 00:10:08 2015 +0800 +++ b/py/configwaiter.py Wed Jun 10 00:13:26 2015 +0800 @@ -51,6 +51,9 @@ # longer timeout to avoid spinning yield from asyncio.sleep(30) + except asyncio.TimeoutError: + D("configwaiter http timed out") + pass except Exception as e: EX("Error watching config: %s" % str(e))