You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v4.9.2
Node v20.11.0
System macOS (arm64)
Package Manager npm
Output server
Adapter @astrojs/node
Integrations @astrojs/preact
@astrojs/mdx
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
#10285 introduced a try catch which swallows some of the errors making it very hard to know what was the root cause of 500. You should always either log or rethrow in a catch block.
What's the expected result?
All errors should be logged.
Link to Minimal Reproducible Example
Any app with node adapter
npm create astro@latest
cd repro
npx astro add node
npm run build
node dist/server/entry.mjs
# in second terminal
curl localhost:4321 -H 'X-Forwarded-Host: example.com, example2.com'
# no logs in first terminal
Participation
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
#10285 introduced a try catch which swallows some of the errors making it very hard to know what was the root cause of 500. You should always either log or rethrow in a catch block.
What's the expected result?
All errors should be logged.
Link to Minimal Reproducible Example
Any app with node adapter
Participation
The text was updated successfully, but these errors were encountered: