From 2700e00ad400e80c0b8a069c0331e6e7c82c1176 Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 8 Nov 2018 10:12:34 +0800 Subject: [PATCH] Update main.js --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 02e81e8..aaaedd5 100644 --- a/main.js +++ b/main.js @@ -266,9 +266,10 @@ function checkDeviceIds(options, config, deviceIds) { } function checkObjects(options, regType, regName, regFullName, tasks, newObjects) { + let regs = options[regType]; - adapter.log.warn('regs=' + regs); + adapter.log.warn('regs=' + JSON.stringify(regs)); for (let i = 0; regs.length > i; i++) { const id = adapter.namespace + '.' + regs[i].id;