diff options
author | 2024-06-13 10:41:01 +0100 | |
---|---|---|
committer | 2024-06-13 10:41:01 +0100 | |
commit | d07d2f7ac9d87af907beaca700ba4116dc1d6f37 (patch) | |
tree | 3f2386318b4a64406ea129cf315b992f42cc60b8 /packages/integrations/react/src | |
parent | 8036b9a3fc5179737b465e4f6fea3144ecb57bc9 (diff) | |
download | astro-d07d2f7ac9d87af907beaca700ba4116dc1d6f37.tar.gz astro-d07d2f7ac9d87af907beaca700ba4116dc1d6f37.tar.zst astro-d07d2f7ac9d87af907beaca700ba4116dc1d6f37.zip |
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>
Diffstat (limited to 'packages/integrations/react/src')
0 files changed, 0 insertions, 0 deletions