We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755bd68 commit 0ec1fbdCopy full SHA for 0ec1fbd
1 file changed
packages/cli/src/dirCommand.ts
@@ -146,7 +146,10 @@ export const dirCommand: SvgrCommand = async (
146
}
147
148
const dest = path.resolve(outDir as string, path.relative(root, filename))
149
- return write(filename, dest)
+ return write(filename, dest).catch(err => {
150
+ console.error('Failed to handle file: ', filename)
151
+ throw err
152
+ })
153
154
155
await Promise.all(
0 commit comments