Pass error to done function

This commit is contained in:
rightfold 2017-03-04 23:09:41 +01:00
parent c14897d6ed
commit efd988b640
No known key found for this signature in database
GPG Key ID: 199D0373AC917A8F

View File

@ -22,7 +22,7 @@ exports.withConnection = function(pool) {
done();
onSuccess(r);
}, function(e) {
done();
done(e);
onError(e);
});
});