generated from tpl/purs
Pass error to done function
This commit is contained in:
parent
c14897d6ed
commit
efd988b640
@ -22,7 +22,7 @@ exports.withConnection = function(pool) {
|
||||
done();
|
||||
onSuccess(r);
|
||||
}, function(e) {
|
||||
done();
|
||||
done(e);
|
||||
onError(e);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user