We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 881725c commit ebb74c7Copy full SHA for ebb74c7
src/generator.ts
@@ -29,7 +29,7 @@ export async function generateAPIClient(options: GenOptions): Promise<string[]>
29
}
30
});
31
} catch (error) {
32
- throw new Error(`Provided swagger file "${swaggerFilePath}" is invalid`);
+ throw new Error(`Provided swagger file "${swaggerFilePath}" is invalid: ${error}`);
33
34
35
const swaggerDef: Swagger = await swaggerFile(swaggerFilePath);
0 commit comments