diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js index b2dd38e35..4e3d43585 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js @@ -220,7 +220,11 @@ RED.palette.editor = (function() { var setElements = nodeEntry.sets[setName]; if (set.err) { errorCount++; - $("
  • ").text(set.err).appendTo(nodeEntry.errorList); + var errMessage = set.err; + if (set.err.message) { + errMessage = set.err.message; + } + $("
  • ").text(errMessage).appendTo(nodeEntry.errorList); } if (set.enabled) { activeTypeCount += set.types.length;