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

You need to sign in or sign up before continuing.
Commit 773d4076 by Matt McFarland

update mysql module notice and throw as an exception

1 parent e0db5f43
Showing with 1 additions and 1 deletions
......@@ -13,7 +13,7 @@ module.exports = (function() {
mysql = require('mysql')
}
} catch (err) {
console.log('You need to install mysql package manually')
throw new Error('Please install mysql package manually')
}
this.sequelize = sequelize
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!