Skip to content

Commit

Permalink
Merge pull request #482 from arteck/master
Browse files Browse the repository at this point in the history
readable error
  • Loading branch information
foxthefox authored Nov 18, 2023
2 parents 4725a45 + 533b074 commit 20e5ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ class Fritzdect extends utils.Adapter {
this.log.error('statuscode not in errorHandlerApi of fritzdect');
}
}
this.log.error('API err => ' + error.error);
this.log.error('API err => ' + JSON.stringify(error.error));
} catch (e) {
this.log.error('catched error in function errorHandlerApi() ' + e);
}
Expand Down

0 comments on commit 20e5ef9

Please sign in to comment.