* add more guidance on how to call

This commit is contained in:
Ingo Fischer
2022-12-08 23:08:37 +01:00
parent ad8f360c17
commit 659152be2e
+1
View File
@@ -79,6 +79,7 @@ function startAdapter(options) {
err && adapter.log.error('Cannot control ' + id + ': ' + err);
if (err && noFields) {
adapter.log.warn(`Please make sure to provide a stringified JSON as value to set relevant fields! Please refer to the Readme for details!`);
adapter.log.warn(`Allowed field keys are: ${Object.keys(fields).join(', ')}`);
}
});
}