Skip to content

Error handler for LiveMysql constructor

Compare
Choose a tag to compare
@numtel numtel released this 14 Feb 21:42
· 30 commits to master since this release

Errors on connection may now be handled by passing a callback to the constructor that accepts a single error argument.

See example:

var liveDb = new LiveMysql(Meteor.settings.mysql, function (error) {
    // ...
});