Skip to content

Commit

Permalink
remove invalid error parameter from mysql callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Conway-Jones committed Mar 17, 2017
1 parent 9be6545 commit 5a07f29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage/mysql/68-mysql.js
Expand Up @@ -21,7 +21,7 @@ module.exports = function(RED) {
node.connection.query("SELECT version();", [], function(err, rows) {
if (err) {
node.connection.release();
node.error(err,msg);
node.error(err);
node.status({fill:"red",shape:"ring",text:"Bad Ping"});
doConnect();
}
Expand Down
2 changes: 1 addition & 1 deletion storage/mysql/package.json
@@ -1,6 +1,6 @@
{
"name" : "node-red-node-mysql",
"version" : "0.0.15",
"version" : "0.0.16",
"description" : "A Node-RED node to read and write to a MySQL database",
"dependencies" : {
"mysql" : "^2.13.0"
Expand Down

0 comments on commit 5a07f29

Please sign in to comment.