process exit on error after trySubmit
This commit is contained in:
parent
b1318349e6
commit
eb474e693c
|
@ -132,7 +132,12 @@ export class Submitter {
|
|||
|
||||
// should reload the state before trying to submit
|
||||
await this.reloadStates()
|
||||
try {
|
||||
await this.trySubmit()
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue