Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ErrorBoundary and ServerError #1078

Closed
2 tasks done
artecoop opened this issue Oct 4, 2023 · 1 comment
Closed
2 tasks done

[Bug]: ErrorBoundary and ServerError #1078

artecoop opened this issue Oct 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@artecoop
Copy link

artecoop commented Oct 4, 2023

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

Hi!
I've stumbled upon the very same error filled in #596, but I need to add another issue related to this.

Copying and pasting the example shown in the docs:
https://start.solidjs.com/api/HttpStatusCode#setting-a-404-status-code-for-the-unmatched-routes

and entering https://localhost:3000/slytherin in the browser, the result displayed is "Gryffindor", as if the house passed is correct.

So i've added, to check the result:

...

export default function House() {
	const house = useRouteData<typeof routeData>();
	console.log(house()); // <------
...

And now the error is displayed, even if it ignores the errorboundary, but this is already reported in the attached bug.

But worse: if I click Clear errors and retry, the error disappear, showing "Gryffindor" again. This is very confusing behavior.

Your environment 🌎

macOs Sonoma 14.0 arm
node v18.18.0
pnpm 8.8.0
solid-start 0.3.6
@artecoop artecoop added the bug Something isn't working label Oct 4, 2023
@ryansolid
Copy link
Member

In setting up for SolidStart's next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience.

See #1139 for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants