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
1 changed files with 2 additions and 2 deletions

View File

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