mirror of
https://github.com/alexhopeoconnor/SunGather.git
synced 2026-10-23 11:02:10 +10:00
Output more info on PVOutput error
This commit is contained in:
@@ -199,6 +199,7 @@ class export_pvoutput(object):
|
|||||||
|
|
||||||
if response.status_code != requests.codes.ok:
|
if response.status_code != requests.codes.ok:
|
||||||
logging.error(f"PVOutput: Upload Failed; {str(response.status_code)} Message; {str(response.text)}")
|
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:
|
else:
|
||||||
self.batch_data = []
|
self.batch_data = []
|
||||||
self.last_publish = time.time()
|
self.last_publish = time.time()
|
||||||
|
|||||||
Reference in New Issue
Block a user