Skip to content

Commit

Permalink
throw error if not zod error
Browse files Browse the repository at this point in the history
  • Loading branch information
tjosepo committed Jul 3, 2024
1 parent 5ad1bac commit a4c686a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/create-schemas/src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ try {
} catch (error) {
if (error instanceof ZodError) {
printConfigurationErrors(error);
} else {
throw error;
}
}

Expand Down

0 comments on commit a4c686a

Please sign in to comment.