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

console_error_panic_hook #306

Closed
smessmer opened this issue Sep 2, 2023 · 2 comments
Closed

console_error_panic_hook #306

smessmer opened this issue Sep 2, 2023 · 2 comments
Labels
C-bug Category: bug tribble-reported This issue was reported through Tribble.

Comments

@smessmer
Copy link

smessmer commented Sep 2, 2023

This issue is requesting an enhancement to Perseus. Details of the scope will be available in issue labels.
The user described the problem related to this request as follows:

Panics don't display a stacktrace in the browser console.

The user described the issue as follows:

Adding the following to my main solves it, but it would be nice if perseus did that automatically

    #[cfg(client)]
    console_error_panic_hook::set_once();
  • The author is willing to attempt an implementation: false
Tribble internal data

dHJpYmJsZS1yZXBvcnRlZCxDLWVuaGFuY2VtZW50

@github-actions github-actions bot added C-enhancement Category: enhancement tribble-reported This issue was reported through Tribble. labels Sep 2, 2023
@arctic-hen7
Copy link
Member

Well that's weird: Perseus has extensive internal panic handling, including support for custom error views when panics occur. Are you using the default features?

@arctic-hen7 arctic-hen7 added C-bug Category: bug and removed C-enhancement Category: enhancement labels Sep 5, 2023
@arctic-hen7
Copy link
Member

@smessmer I'm closing this due to inactivity for now, but let me know if this is still an issue for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug tribble-reported This issue was reported through Tribble.
Projects
None yet
Development

No branches or pull requests

2 participants