Skip to content

Commit

Permalink
debug ausgabe
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck authored Jan 17, 2025
1 parent 1554220 commit 73b7fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/proxmox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 73b7fc6

Please sign in to comment.