Skip to content

Commit

Permalink
fix: show error if vite client cannot be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jun 7, 2024
1 parent feae09f commit 9cb1c1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/server/middlewares/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export function errorMiddleware(
</script>
</head>
<body>
<pre>${err.stack?.replace(/</g, '&lt;')}</pre>
</body>
</html>
`)
Expand Down

0 comments on commit 9cb1c1c

Please sign in to comment.