Closed marbemac closed 10 months ago
Latest commit: 3c1073b47ec22e459d807f078038b492f8e13324
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
updated to use @hono/node-server v1.7
Hi @marbemac
Nice! One thing. Could you run yarn changeset
? This is a "minor bump".
sure thing - all set
@marbemac
Thank! Let's go!
TODO
Requires https://github.com/honojs/node-server/pull/131.
@hono/node-server
once a new version with the custom error handler option is publishedThis PR adjusts the dev server so that it passes errors / unexpected conditions through to Vite. This allows us to take advantage of the standard Vite error overlays, stack traces, etc.
Before
After
Or if an error object is returned from the hono endpoint, stack trace is included.:
This is really helpful when rendering client apps in order to get the original stack trace and nice overlay for SSR errors, for example: