Emanuele Stoppa
|
d07d2f7ac9
|
fix: better DX for 500.astro in local development (#11244)
* wip
* catch error in route.ts
* catch error in route.ts
* chore: tidy up error cases
* log the original error
* rebase
* chore: reduce the scope of the 500 handling
* we should not have a default 500
* remove props
* remove unsure function, not needed
* Update packages/astro/src/core/routing/astro-designed-error-pages.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Update packages/astro/src/core/constants.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* changeset
* relax the assertion
* Update packages/astro/src/vite-plugin-astro-server/route.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* relax the assertion
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
|
2024-06-13 10:41:01 +01:00 |
|