1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix node import error nls message

This commit is contained in:
Nick O'Leary 2015-07-13 16:28:23 +01:00
parent a1d7bb4208
commit 62e8f564b9

View File

@ -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");
}
}
}