diff --git a/packages/vite/src/node/server/middlewares/proxy.ts b/packages/vite/src/node/server/middlewares/proxy.ts index 52fab126b8847f..2b80f2801d2f71 100644 --- a/packages/vite/src/node/server/middlewares/proxy.ts +++ b/packages/vite/src/node/server/middlewares/proxy.ts @@ -65,7 +65,7 @@ export function proxyMiddleware( ) } else if ('req' in res) { config.logger.error( - `${colors.red(`http proxy error at ${originalRes.req.url}:`)}\n${ + `${colors.red(`http proxy error: ${originalRes.req.url}`)}\n${ err.stack }`, {