diff --git a/main.js b/main.js index 3afdba1..4603151 100644 --- a/main.js +++ b/main.js @@ -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); }