changeset 295:424f1446f214

fix for updated aiohttp
author Matt Johnston <matt@ucc.asn.au>
date Sat, 06 Jul 2019 18:35:52 +0800
parents 97d99eb42d27
children ca06059e76de
files py/uploader.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))