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

500 page not used when there is a arc.static issue #14

Open
macdonst opened this issue Sep 18, 2022 · 0 comments
Open

500 page not used when there is a arc.static issue #14

macdonst opened this issue Sep 18, 2022 · 0 comments

Comments

@macdonst
Copy link
Contributor

From Discord

something kinda weird happened: i called arc.static in my head.mjs, and i made a typo in the static file name. i didn't notice an error locally in the sandbox (it wasn't a file that made things look different), but when i deployed to staging and tried to access the site, i got a nasty json internal server error message. this is unexpected for 2 reasons:

  1. when i dug into the logs the error was Invoke Error {"errorType":"ReferenceError","errorMessage":"Could not find asset in static.json (asset fingerprint manifest): (which helped me to figure out I had made a typo). but why would this same error not show up in the sandbox so i have a chance to fix it, if it is going to be a showstopper in staging?
  2. why was my custom 500.mjs not used and instead a random json blob shown?

https://discord.com/channels/1012099764713705472/1012435743571988560/1020948626098368643

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

No branches or pull requests

1 participant