fix homebridge proxy logging

This commit is contained in:
shamoon 2023-06-13 15:16:49 -07:00
parent 106eec8cdb
commit 3ee6650e6d

View file

@ -63,7 +63,7 @@ async function apiCall(widget, endpoint, service) {
} }
if (status !== 200) { if (status !== 200) {
logger.error("Error getting data from Homebridge: %s status %d. Data: %s", url, status, data); logger.error("Error getting data from Homebridge: %s status %d. Data: %s", url, status, JSON.stringify(data));
return { status, contentType, data: null, responseHeaders }; return { status, contentType, data: null, responseHeaders };
} }