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