diff --git a/packages/core/src/utils/writeSchema.ts b/packages/core/src/utils/writeSchema.ts index e9c2c90d..4c97ca81 100644 --- a/packages/core/src/utils/writeSchema.ts +++ b/packages/core/src/utils/writeSchema.ts @@ -6,9 +6,7 @@ const writeSchemaData = (location: string, content: string) => { mkdir(location, { recursive: true }, () => {}); } }); - writeFile(location, content, "utf-8", () => { - throw new Error(`Oops Something went wrong with Schema Generator`); - }); + writeFile(location, content, "utf-8", () => {}); }; export { writeSchemaData };