fix homebridge proxy logging
This commit is contained in:
1 parent
106eec8cdb
commit
3ee6650e6d
1 file changed
+1
-1
@@ -63,7 +63,7 @@ async function apiCall(widget, endpoint, service) {
|
||||
}
|
||||
|
||||
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 };
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user