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
1 changed files with 2 additions and 2 deletions

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