mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Properly exit if seeding fails
This commit is contained in:
parent
cd3f0955f9
commit
ad8e64d060
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user