Output more info on PVOutput error

This commit is contained in:
bohdan-s
2022-03-03 14:03:16 +11:00
parent b76d5b0483
commit a9869383b2
+1
View File
@@ -199,6 +199,7 @@ class export_pvoutput(object):
if response.status_code != requests.codes.ok:
logging.error(f"PVOutput: Upload Failed; {str(response.status_code)} Message; {str(response.text)}")
logging.error("PVOutput: Request; " + self.url_addbatchstatus + ", " + str(self.headers) + " : " + str(payload))
else:
self.batch_data = []
self.last_publish = time.time()