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

Not reloading in case of exception #74

Open
jacob-carlborg-apoex opened this issue Jan 30, 2025 · 0 comments
Open

Not reloading in case of exception #74

jacob-carlborg-apoex opened this issue Jan 30, 2025 · 0 comments

Comments

@jacob-carlborg-apoex
Copy link
Contributor

If you view a page in the browser. Then change the code which will trigger Hotwire Spark to reload. But if your change caused an exception (in the backend) the page will not be reloaded. That means you won't get the usual error page. This makes it a bit more difficult to notice there was an error and you need to look at the Rails output/log. You're also missing out on the extra debug information and debug functionality available on the error page.

If you manually reload the browser you do get the usual error page. But if you then fix the code Hotwire Spark will not reload the browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant