Skip to content

Commit

Permalink
fix: make optimize error available to meta-framework (#13495)
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jun 12, 2023
1 parent dc597bd commit b70e783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/importAnalysis.ts
Expand Up @@ -665,7 +665,7 @@ export function importAnalysisPlugin(config: ResolvedConfig): Plugin {
return
}
// Unexpected error, log the issue but avoid an unhandled exception
config.logger.error(e.message)
config.logger.error(e.message, { error: e })
})
}
} else if (!importer.startsWith(clientDir)) {
Expand Down

0 comments on commit b70e783

Please sign in to comment.