Skip to content

Commit 0352af0

Browse files
alepane21maxbol
authored andcommitted
fix: if an error is caught, exit immediately (wundergraph#2478)
1 parent 92225d6 commit 0352af0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Please try the below steps to solve the issue
4646
}),
4747
);
4848

49-
process.exitCode = 1;
50-
5149
await shutdownTelemetry();
50+
51+
process.exit(1);
5252
}

0 commit comments

Comments
 (0)