Handle panics without crashing the app #23
Labels
bug
Something isn't working
enhancement
New feature or request
general
General discussion of a specific topic
in progress
Improvements/fixes/anything in progress
When a user does an action that causes a panic (Rust side), it crashes the app.
Since this isn't the ideal behaviour, I would like to handle this preferably as an alert of some sort on the JS side. However on the Rust side, I'm not sure if handling errors using the
panic!
macro is appropriate for all cases.In vague terms:
I'll have to take a closer look at this later on. Without handling these edge cases correctly, the flow of the app will diminish and the UX won't feel as robust.
The text was updated successfully, but these errors were encountered: