diff --git a/lib/Pool.js b/lib/Pool.js index f59dcce..b9e125f 100644 --- a/lib/Pool.js +++ b/lib/Pool.js @@ -294,6 +294,7 @@ class Pool { this.connect((error, connection) => { if (error) { reject(error); + return; } connection.query(sql, parameters, options, (error, result) => {