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

Commit 1b41977d by Jan Aagaard Meier

Merge pull request #4095 from atorkhov/patch-1

Correct error message to show exact module name
2 parents 19defcad 46c6034b
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!