We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
catch
1 parent 910fb11 commit c97dc45Copy full SHA for c97dc45
index.js
@@ -38,8 +38,6 @@ exports.up = async function (opts={}) {
38
const toRun = opts.single ? [fresh[0]] : fresh;
39
await driver.loop(client, toRun, 'up');
40
return toRun.map(x => x.name);
41
- } catch (err) {
42
- throw err;
43
} finally {
44
if (client) await driver.end(client);
45
}
@@ -64,8 +62,6 @@ exports.down = async function (opts={}) {
64
62
const toRun = $.pluck(opts.all ? exists : [last], migrations.slice(idx));
65
63
await driver.loop(client, toRun, 'down');
66
67
68
69
70
71
0 commit comments