diff --git a/packages/node_modules/@node-red/runtime/lib/flows/Flow.js b/packages/node_modules/@node-red/runtime/lib/flows/Flow.js index 6da07f495..c99259f1a 100644 --- a/packages/node_modules/@node-red/runtime/lib/flows/Flow.js +++ b/packages/node_modules/@node-red/runtime/lib/flows/Flow.js @@ -819,7 +819,7 @@ function handlePreRoute(flow, sendEvent, reportError) { } function deliverMessageToDestination(sendEvent) { - if (sendEvent.destination.node) { + if (sendEvent?.destination?.node) { try { sendEvent.destination.node.receive(sendEvent.msg); } catch(err) {