From 62e8f564b99d06278b3602a3b87f2d51cff0edcc Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 13 Jul 2015 16:28:23 +0100 Subject: [PATCH] Fix node import error nls message --- editor/js/ui/view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/js/ui/view.js b/editor/js/ui/view.js index e27eb465b..f5c07f538 100644 --- a/editor/js/ui/view.js +++ b/editor/js/ui/view.js @@ -1767,9 +1767,9 @@ RED.view = (function() { } catch(error) { if (error.code != "NODE_RED") { console.log(error.stack); - RED.notify(RED._("notification.error")+error,"error"); + RED.notify(RED._("notification.error",{message:error.toString()}),"error"); } else { - RED.notify(RED._("notification.error")+error.message,"error"); + RED.notify(RED._("notification.error",{message:error.message}),"error"); } } }