From 533b0744e28c5bc2909cf9fdd71b54cef9971f5f Mon Sep 17 00:00:00 2001 From: arteck <6681528+arteck@users.noreply.github.com> Date: Sat, 11 Nov 2023 09:10:32 +0100 Subject: [PATCH] Update main.js --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }