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

Commit 46c6034b by Alexey Torkhov

Correct error message to show exact module name

1 parent 789c3dc9
Showing with 1 additions and 1 deletions
......@@ -14,7 +14,7 @@ ConnectionManager = function(dialect, sequelize) {
try {
this.lib = sequelize.config.native ? require(sequelize.config.dialectModulePath || 'pg').native : require(sequelize.config.dialectModulePath || 'pg');
} catch (err) {
throw new Error('Please install postgres package manually');
throw new Error('Please install \'' + (sequelize.config.dialectModulePath || 'pg') + '\' module manually');
}
};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!