Last changes

This commit is contained in:
Luis Fernando Molina committed 2020-08-04 20:06:59 +02:00
1 parent c5b44822c7
commit e671ed7c4e
3 files changed
+7 -3

No files matched your search

@@ -151,7 +151,11 @@ exports.newTradingRecords = function newTradingRecords(bot, logger) {
we use the Index value we find at the configuration of the Record Property.
*/
if (recordProperty.config.index !== undefined) {
targetNode = targetNode[recordProperty.config.index]
try {
targetNode = targetNode[recordProperty.config.index]
} catch (err) {
badDefinitionUnhandledException(err, 'Error setting Target Node.', product, recordProperty)
}
}
/*
By Default the value is extracted from the value property of the Target Node.