Errors in MODBUS RTU communication

you are absolutely right .. it was my mistake when i shared the flow today with the new changes.
if you see post #24 it shows the wiring as you did now .. and then i wired it wrong :sleeping:
im glad you found it!
so we dont even need a second output on those "error" functions
just simply blocking the message from going to buffer-parcer when there's a failure

if (msg.payload == "" || msg.hasOwnProperty('error')) {
    node.status({ fill: "red", shape: "ring", text: `${msg.error}`});
}

else {
    node.status({ fill: "green", shape: "ring", text: ""});
    return msg;
}