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

Commit 35f9aca2 by Sascha Depold

Merge branch 'error' of git://github.com/denysonique/sequelize into denysonique-error

2 parents 50563cb0 bed9ac6b
Showing with 3 additions and 1 deletions
......@@ -56,7 +56,9 @@ module.exports = (function() {
var connectCallback = function(err, client) {
self.isConnecting = false
if (!err && client) {
if (err) {
throw err
} else if (client) {
client.query("SET TIME ZONE 'UTC'")
.on('end', function() {
self.isConnected = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!