diff --git a/src/Submitter.ts b/src/Submitter.ts index 25a85b4..81a3a21 100644 --- a/src/Submitter.ts +++ b/src/Submitter.ts @@ -132,7 +132,12 @@ export class Submitter { // should reload the state before trying to submit await this.reloadStates() - await this.trySubmit() + try { + await this.trySubmit() + } catch (e) { + console.error(e) + process.exit(1) + } } }