0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-31 23:31:30 -05:00
astro/packages
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
..
astro fix: better DX for 500.astro in local development (#11244) 2024-06-13 10:41:01 +01:00
astro-prism chore(deps): update all non-major dependencies (#10958) 2024-05-09 15:20:13 +08:00
astro-rss fix(deps): update all non-major dependencies (#11151) 2024-05-30 17:28:57 +08:00
create-astro Fix typos (#10923) 2024-05-01 13:56:38 +08:00
db feat: upgrade pnpm (#11146) 2024-06-11 15:49:03 +02:00
integrations [ci] format 2024-06-11 13:33:05 +00:00
internal-helpers [ci] release (#10597) 2024-03-28 14:09:23 -04:00
markdown/remark fix(deps): update all non-major dependencies (#11222) 2024-06-11 08:59:21 +01:00
studio fix(deps): update all non-major dependencies (#11222) 2024-06-11 08:59:21 +01:00
telemetry fix(deps): update all non-major dependencies (#11222) 2024-06-11 08:59:21 +01:00
underscore-redirects chore: import sort source code, exception for the astro package (#10242) 2024-02-27 11:15:27 +00:00
upgrade [ci] release (#11140) 2024-05-27 06:58:19 -04:00