File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Without `console_error_panic_hook` you just get something like *RuntimeError: Un
1717
1818![ Console without panic hook] ( without_panic_hook.png )
1919
20- but with this panic hook installed you will see the panic message
20+ With this panic hook installed you will see the panic message
2121
2222![ Console with panic hook set up] ( with_panic_hook.png )
2323
Original file line number Diff line number Diff line change 1313//! will typically capture a stack trace and display it with the logged error
1414//! message.
1515//!
16+ //! Without `console_error_panic_hook` you just get something like *RuntimeError: Unreachable executed*
17+ //!
18+ //! 
19+ //!
20+ //! With this panic hook installed you will see the panic message
21+ //!
22+ //! 
23+ //!
1624//! ## Usage
1725//!
1826//! There are two ways to install this panic hook.
You can’t perform that action at this time.
0 commit comments