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

Made error page work #108

Merged
merged 3 commits into from Nov 6, 2020
Merged

Made error page work #108

merged 3 commits into from Nov 6, 2020

Conversation

ehrencrona
Copy link
Contributor

The error page wasn't loading because a bunch of properties and stores weren't provided.
I solved this the same way we do in Sapper, with a recursive call to render_page passing error and status as parameters. It seems to work now (except that we reference process in the Hacker News error page and it's not implemented).

I also added error to the page store as per sveltejs/sapper#1498 and Ben's comment in #6

@benmccann benmccann merged commit 4d3fabe into master Nov 6, 2020
@Conduitry Conduitry deleted the error-page branch April 1, 2021 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants