inserta todo el error en la vn.arcRead
gitea/vn-rfid/pipeline/head This commit looks good
Details
gitea/vn-rfid/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3d3b5e61f1
commit
418f2894ff
|
@ -9,6 +9,6 @@ export default async(rfids, arcId) => {
|
|||
await counter(null, arcId);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
await con.query(`UPDATE vn.arcRead SET error = ?, counter = NULL WHERE id = ?;`, [t(error.sqlMessage), arcId]);
|
||||
await con.query(`UPDATE vn.arcRead SET error = ?, counter = NULL WHERE id = ?;`, [error]);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue