Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Custom internal server error messages #742

Open
mrkishi opened this issue Jun 11, 2019 · 0 comments
Open

Custom internal server error messages #742

mrkishi opened this issue Jun 11, 2019 · 0 comments

Comments

@mrkishi
Copy link
Member

mrkishi commented Jun 11, 2019

Sapper will currently bail with <pre>Internal server error</pre> when errors are thrown while rendering error pages.

This was done to prevent the node process from hanging in an infinite loop, but we should probably look into handling it more gracefully.

At the very least, we could support customizing the error with a static template-internal-error.html akin to template.html when nothing else can be done.

Thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants