mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
fix homebridge proxy logging
This commit is contained in:
parent
106eec8cdb
commit
3ee6650e6d
@ -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 };
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user