From 73b7fc67ab4be0a0ab34626f5707f42591e2db7a Mon Sep 17 00:00:00 2001 From: arteck <6681528+arteck@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:21:10 +0100 Subject: [PATCH] debug ausgabe --- lib/proxmox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/proxmox.js b/lib/proxmox.js index 23799b3..283c063 100644 --- a/lib/proxmox.js +++ b/lib/proxmox.js @@ -271,7 +271,7 @@ class ProxmoxUtils { this.adapter.log.debug(`received ${response.status} response from ${pathU} with content: ${JSON.stringify(response.data)}`); if ([500, 595, 599].includes(response.status)) { - throw `${response.status} - ${response.data}`; + throw `${response.status} - ${JSON.stringify(response)}`; } if (response.status === 401 && !retry) {