# HG changeset patch # User Matt Johnston # Date 1562409352 -28800 # Node ID 424f1446f2141403a81e6cd3a138496e73e17546 # Parent 97d99eb42d27afd4e6093a085c6d19e241696f85 fix for updated aiohttp diff -r 97d99eb42d27 -r 424f1446f214 py/uploader.py --- a/py/uploader.py Wed Jun 26 22:52:03 2019 +0800 +++ b/py/uploader.py Sat Jul 06 18:35:52 2019 +0800 @@ -71,7 +71,7 @@ yield from self.send(tosend) readings = None D("Sent updated %d readings" % nreadings) - except aiohttp.errors.ClientError as e: + except aiohttp.ClientResponseError as e: self.limitlog.log("Error with uploader: %s" % str(e)) except asyncio.TimeoutError as e: self.limitlog.log("uploader http timed out: %s" % str(e))