Skip to content

Commit

Permalink
fix: sea error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
nikwen committed Nov 29, 2024
1 parent c59b1bb commit 6be553f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ function main() {
throw new Error(stderr);
}
} catch (error) {
process.exitCode = 1;
throw new Error(error);
process.exit(1);
}
}
Expand Down

0 comments on commit 6be553f

Please sign in to comment.