dbg messaggio
parent
b8ab6a85ae
commit
125f856eca
|
|
@ -212,7 +212,7 @@ module.exports = function (RED) {
|
|||
read_msg.assert(msg);
|
||||
} catch (e) {
|
||||
let errors = read_msg.validate(msg);
|
||||
node.error("Msg non valido: " + errors.map(x => x.path + ": " + x.error).join("\n"));
|
||||
node.error("Msg " + JSON.stringify(msg) + " non valido: " + errors.map(x => x.path + ": " + x.error).join("\n"));
|
||||
return;
|
||||
}
|
||||
s7node_from_plc(msg.plc).then(s7conn => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue