mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
fix mysql node error scope
This commit is contained in:
parent
7a5c39ce7b
commit
a7b9380f25
@ -180,7 +180,7 @@ module.exports = function(RED) {
|
||||
});
|
||||
}
|
||||
else {
|
||||
node.error(RED._("mysql.errors.notconfigured"));
|
||||
this.error(RED._("mysql.errors.notconfigured"));
|
||||
}
|
||||
}
|
||||
RED.nodes.registerType("mysql",MysqlDBNodeIn);
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-node-mysql",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "A Node-RED node to read and write to a MySQL database",
|
||||
"dependencies": {
|
||||
"mysql2": "^2.3.3"
|
||||
|
Loading…
x
Reference in New Issue
Block a user