Properly exit if seeding fails

This commit is contained in:
Robert Schäfer 2019-01-17 16:01:03 +01:00
parent cd3f0955f9
commit ad8e64d060

View File

@ -33,6 +33,7 @@ export default async function (client) {
} catch (err) {
/* eslint-disable-next-line no-console */
console.error(err)
process.exit(1)
}
})
/* eslint-disable-next-line no-console */