mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-12 23:35:50 +00:00
exit with code 1 if an error is thrown inside migration script
This commit is contained in:
parent
a10013bc72
commit
235de944d4
@ -48,6 +48,7 @@ run(process.argv[2])
|
||||
.catch((err) => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(err)
|
||||
process.exit(1)
|
||||
})
|
||||
.then(() => {
|
||||
process.exit()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user