mirror of
https://github.com/withastro/astro.git
synced 2025-02-10 22:38:53 -05:00
* fix: handle middleware loading error * remove the try/catch * rethrow error * Update packages/astro/src/core/middleware/loadMiddleware.ts Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com> --------- Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
5 lines
97 B
Markdown
5 lines
97 B
Markdown
---
|
|
'astro': patch
|
|
---
|
|
|
|
Correctly handle the error in case the middleware throws a runtime error
|