0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00
astro/.changeset/red-parents-knock.md
Matthew Phillips d54cbe4134
Better errors for when response is already sent (#6719)
* Better errors for when response is already sent

* Changeset

* Casing

* Change to a 300x error
2023-03-31 15:27:14 -04:00

10 lines
233 B
Markdown

---
'astro': patch
---
Better errors for when response is already sent
This adds clearer error messaging when a Response has already been sent to the browser and the developer attempts to use:
- Astro.cookies.set
- Astro.redirect