Merge 1860182420807a4d09014cf238f6d8eeb01146b2 into cc186ef14e5faf39a2b37d7fa8460349ee56c753

This commit is contained in:
tamasvar 2025-02-20 08:01:57 +00:00 committed by GitHub
commit 967c03d571
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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