Skip to content

Commit

Permalink
Update packages/kit/src/exports/vite/dev/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
  • Loading branch information
Rich-Harris and dummdidumm authored Dec 12, 2022
1 parent 55fb7b0 commit ed2e087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/exports/vite/dev/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ export async function dev(vite, vite_config, svelte_config) {
res.writeHead(500, {
'Content-Type': 'text/html; charset=utf-8'
});
res.end(error_template({ status: 500, message: 'Invalid routes' }));
res.end(error_template({ status: 500, message: manifest_error.message ?? 'Invalid routes' }));

return;
}
Expand Down

0 comments on commit ed2e087

Please sign in to comment.