diff --git a/packages/create-schemas/src/bin.ts b/packages/create-schemas/src/bin.ts index 01ee0d4..8a24e55 100644 --- a/packages/create-schemas/src/bin.ts +++ b/packages/create-schemas/src/bin.ts @@ -16,6 +16,8 @@ try { } catch (error) { if (error instanceof ZodError) { printConfigurationErrors(error); + } else { + throw error; } }