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) {