Pass error to done function

This commit is contained in:
rightfold
2017-03-04 23:09:41 +01:00
parent c14897d6ed
commit efd988b640

View File

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