mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Merge 1860182420807a4d09014cf238f6d8eeb01146b2 into cc186ef14e5faf39a2b37d7fa8460349ee56c753
This commit is contained in:
commit
967c03d571
@ -142,6 +142,8 @@ module.exports = function(RED) {
|
||||
conn.query(msg.topic, bind, function (err, rows) {
|
||||
conn.release()
|
||||
if (err) {
|
||||
msg.error = err;
|
||||
send(msg);
|
||||
status = { fill: "red", shape: "ring", text: RED._("mysql.status.error") + ": " + err.code };
|
||||
node.status(status);
|
||||
node.error(err, msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user