diff --git a/main.js b/main.js index 7621b05..98732ef 100644 --- a/main.js +++ b/main.js @@ -1251,7 +1251,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); }