Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'numtel:mysql-server',
version: '1.0.1',
version: '1.0.2',
summary: 'Run MySQL server inside your Meteor app',
git: 'https://github.com/numtel/meteor-mysql-server',
documentation: 'README.md'
Expand Down
2 changes: 1 addition & 1 deletion plugin/mysqlServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Plugin.registerSourceHandler('mysql.json', {
if(error) return fut['throw'](error);
console.log('[MySQL] Performing initialization queries... ');
db.query(initQueries, MBE(function(error, rows) {
if(error) return fut['throw'](error);
if(error) return fut['throw'](new Error(error.message));
db.destroy(); // Close connection
return fut['return']();
}));
Expand Down