不要怂,就是干,撸起袖子干!

Commit 1de28b2d by Sascha Depold

log errors

1 parent 3db1d156
Showing with 1 additions and 0 deletions
...@@ -184,6 +184,7 @@ Sequelize.prototype = { ...@@ -184,6 +184,7 @@ Sequelize.prototype = {
client client
.query(queryString) .query(queryString)
.on('error', function(err) { Sequelize.Helper.log(err) })
.on('row', function(r){ values.push(r) }) .on('row', function(r){ values.push(r) })
.on('field', function(f){ fields.push(f)}) .on('field', function(f){ fields.push(f)})
.on('end', function(stats) { .on('end', function(stats) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!