1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Config sidebar not handling node definition error properly

This commit is contained in:
Nick O'Leary 2016-10-21 13:47:54 +01:00
parent 8debed805b
commit a6803081ab

View File

@ -136,8 +136,8 @@ RED.sidebar.config = (function() {
try { try {
label = node._def.label.call(node); label = node._def.label.call(node);
} catch(err) { } catch(err) {
console.log("Definition error: "+node_def.type+".label",err); console.log("Definition error: "+node._def.type+".label",err);
label = node_def.type; label = node._def.type;
} }
} else { } else {