dbg messaggio

master
Pietro Brenna 2021-11-24 10:51:55 +01:00
parent b8ab6a85ae
commit 125f856eca
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {