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

feat(qwikloader): emit error #6254

Merged
merged 6 commits into from
May 10, 2024
Merged

feat(qwikloader): emit error #6254

merged 6 commits into from
May 10, 2024

Conversation

PatrickJS
Copy link
Member

fixes #3716

@PatrickJS PatrickJS marked this pull request as draft May 6, 2024 19:13
Copy link

cloudflare-workers-and-pages bot commented May 6, 2024

Deploying qwik-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4be3d27
Status: ✅  Deploy successful!
Preview URL: https://89319d84.qwik-8nx.pages.dev
Branch Preview URL: https://feat-qwikloader-emit-error.qwik-8nx.pages.dev

View logs

@PatrickJS PatrickJS force-pushed the feat-qwikloader-emit-error branch from 2c428f7 to fd948b0 Compare May 9, 2024 20:19
@wmertens
Copy link
Member

wmertens commented May 9, 2024

Is qerror with the data specific enough to know that it was a symbol error?

I think we should also have a default handler in qwik city that hard reloads the page when the error is 404

@PatrickJS
Copy link
Member Author

yeah, I'm thinking we can use this and add it to the import for a hard reload (to fix the other problem).

this was meant for detecting an error

@PatrickJS PatrickJS marked this pull request as ready for review May 10, 2024 04:59
@PatrickJS
Copy link
Member Author

@wmertens ok I added an importError check we can later add a listener to check for it and reload for prod

Copy link
Member

@wmertens wmertens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wmertens wmertens merged commit cab4ae3 into main May 10, 2024
25 checks passed
@wmertens wmertens deleted the feat-qwikloader-emit-error branch May 10, 2024 13:02
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.

[🐞]I would expect a more prominent error.
2 participants