Skip to content

Commit

Permalink
Update packages/node_modules/@node-red/runtime/lib/flows/Flow.js
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com>
  • Loading branch information
knolleary and Steve-Mcl committed Nov 30, 2022
1 parent f4d7b71 commit 79db4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node_modules/@node-red/runtime/lib/flows/Flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 79db4f8

Please sign in to comment.