Skip to content

Not reloading in case of exception #74

@jacob-carlborg-apoex

Description

@jacob-carlborg-apoex

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions