fix homebridge proxy logging
This commit is contained in:
parent
106eec8cdb
commit
3ee6650e6d
1 changed files with 1 additions and 1 deletions
|
@ -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 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue