diff --git a/web-plugin/index.js b/web-plugin/index.js index 67a9e29..95f325b 100644 --- a/web-plugin/index.js +++ b/web-plugin/index.js @@ -32,7 +32,7 @@ function dispatchAPIEventData(data) { } app.ui.dialog.show(message); - if (error.response) { + if (msg.node_errors) { app.lastNodeErrors = msg.node_errors; app.canvas.draw(true, true); }