master
Mark Moffat 2019-06-11 15:02:44 +09:30
parent 1c741eb615
commit 704adb747c
1 changed files with 3 additions and 4 deletions

View File

@ -29,12 +29,11 @@ initDb(config.databaseConnectionString, (err, db) => {
}) })
.catch((err) => { .catch((err) => {
console.log('Error inserting test data', err); console.log('Error inserting test data', err);
reject(err); process.exit(2);
}); });
}) })
.catch((err) => { .catch((err) => {
console.log('Error removing existing test data', err); console.log('Error removing existing test data', err);
reject(err); process.exit(2);
}); });
}); });