A fatal error would not be logged into the console when the git repository isn't available. This is needed for monorepos that don't have git repositories initialized in the child directories (and Docker environments)
Actual Result
fatal: not a git repository (or any of the parent directories): .git - is logged to the console
Environment
Latest vite plugin, latest @sentry/vite-plugin. Happens on older versions too
Steps to Reproduce
.git
directory from the cloned foldernpm install
npm run preview
Expected Result
A fatal error would not be logged into the console when the git repository isn't available. This is needed for monorepos that don't have git repositories initialized in the child directories (and Docker environments)
Actual Result
fatal: not a git repository (or any of the parent directories): .git - is logged to the console