Closed rupertbg closed 8 years ago
All functions here return a Promise. That means that you can use Promise.catch
to capture errors.
r.init(opts)
.then(function (conn) {
// All tables and indexes have been created
})
.catch(function (err) {
// Retry????
});
Closing this issue, but happy to reopen it if there's anything else.
Is there a way to capture errors e.g. from
.then(error, connection
.. ?