Skip to content

Commit

Permalink
chore: add comment on why error here
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Feb 7, 2023
1 parent d780305 commit dac697b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/astro/src/content/vite-plugin-content-imports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export function astroContentImportPlugin({
});
}
if (observable.status === 'error') {
// Throw here to bubble content config errors
// to the error overlay in development
throw observable.error;
}

Expand Down

0 comments on commit dac697b

Please sign in to comment.