diff py/uploader.py @ 301:47c259458160

merge
author Matt Johnston <matt@ucc.asn.au>
date Sat, 06 Jul 2019 19:17:21 +0800
parents b0c0e88cbfcc
children
line wrap: on
line diff
--- a/py/uploader.py	Mon Feb 27 23:27:45 2017 +0800
+++ b/py/uploader.py	Sat Jul 06 19:17: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))