Merge branch 'master' into dev

This commit is contained in:
Nick O'Leary
2023-07-26 16:59:12 +01:00
9 changed files with 12 additions and 6 deletions

View File

@@ -783,7 +783,7 @@ function handlePreRoute(flow, sendEvent, reportError) {
return;
} else if (err !== false) {
sendEvent.destination.node = flow.getNode(sendEvent.destination.id);
if (sendEvent.destination.node) {
if (sendEvent.destination.node && typeof sendEvent.destination.node === 'object') {
if (sendEvent.cloneMessage) {
sendEvent.msg = redUtil.cloneMessage(sendEvent.msg);
}