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

Provide user a possibility to recover from runtime exceptions #1476

Closed
evgenykochetkov opened this issue Oct 16, 2018 · 0 comments · Fixed by #2074
Closed

Provide user a possibility to recover from runtime exceptions #1476

evgenykochetkov opened this issue Oct 16, 2018 · 0 comments · Fixed by #2074

Comments

@evgenykochetkov
Copy link
Contributor

Right now, we handle most exceptions in a fairly user-friendly way(ones that may occur during transpilation process and in redux thunks).

But some lead to "crash to the gray screen", not giving a user any error messages or even a chance to save currently opened project(like #1468). Those exceptions are caused by a combination of current state and some bug in selectors or rendering code. In that case, we can't just try rendering the same thing again, because that would lead to the same exception.

But instead of rendering nothing, we can provide some recovery options

  • export current changes to a .xodball
  • undo last action and try rendering again
  • simulate opening project in the current state(that could help if crash was caused by some complex UI manipulations)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants