changeset 297:ca06059e76de

merge
author Matt Johnston <matt@ucc.asn.au>
date Sat, 06 Jul 2019 18:37:21 +0800
parents 8441916e3095 (current diff) 424f1446f214 (diff)
children b0c0e88cbfcc
files py/uploader.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/py/uploader.py	Sat Jul 06 18:36:46 2019 +0800
+++ b/py/uploader.py	Sat Jul 06 18:37:21 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))