restet
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ async function DoImport(msg, url, node, maxRetries, baseBackoffMs) {
|
|||||||
|
|
||||||
node.status({ fill: "green", shape: "dot", text: `#${msg.page}: ${msg.rows} Rows` })
|
node.status({ fill: "green", shape: "dot", text: `#${msg.page}: ${msg.rows} Rows` })
|
||||||
msg.payload = data;
|
msg.payload = data;
|
||||||
return node.send([{ "rows": msg.rows }, null]);
|
return node.send([msg, null]);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
node.status({ fill: "red", shape: "ring", text: error.message })
|
node.status({ fill: "red", shape: "ring", text: error.message })
|
||||||
console.error(error.message)
|
console.error(error.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user