Skip to content

Commit

Permalink
chore: update var name
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Dec 12, 2024
1 parent 5ec1c3d commit be7df7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/server/middlewares/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export function proxyMiddleware(
socket.end('HTTP/1.1 404 Not Found\r\n\r\n', '')
return
}
} catch (e) {
} catch (err) {
config.logger.error(
`${colors.red(`ws proxy bypass error:`)}\n${err.stack}`,
{
Expand Down

0 comments on commit be7df7a

Please sign in to comment.