-
Notifications
You must be signed in to change notification settings - Fork 182
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
If a critical module fails, uProxy should die (or restart the module) #895
Comments
What kind of failure are you thinking of, exceptions? Are you thinking of a top-level exception that kills the web-worker? I think later versions of freedom (0.7) & later are planning to do module-monitoring and optional re-start/error reporting. In which case, I think this is best for v2. |
We already give you the ability to check when a module is closed by On Wed, Feb 11, 2015 at 2:19 PM, iislucas [email protected] wrote:
|
I see, cool. +1 |
what was the error? |
#894 is one example that had this behavior. |
blocked on freedomjs/freedom#231 |
Based on the next comment in freedomjs/freedom#231 On Fri, Feb 20, 2015 at 5:57 PM, salomegeo [email protected] wrote:
|
@zahoriea we don't just want to restart the app and the extension without asking users first. We were thinking maybe we should display something to ask users to restart the app. |
Depending on which module fails, we can probably fail more gracefully than
|
Failures we (may) have to deal with:
I'd suggest for a v1 that we do something simple (but sub-optimal) like showing an unhappy uproxy face in the popup; stopping the chrome-app (for security); and letting the user click a button to restart the chrome app and or give us feedback. We can get fancier later, but in the short term we probably want to know when things break like this. |
De-assigning as no one is actually working on this right now. |
Currently, if the social provider fails, there is no indication in the user interface. User actions just have no effect. This is bad. Instead, we should either fail hard and show an error message, or recover from the failure somehow.
Either solution will likely involve using the module's
onClose
method.The text was updated successfully, but these errors were encountered: