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

Handle WebView error on unavailable instance #181

Merged
merged 1 commit into from
Oct 11, 2020

Conversation

CarlosOlivo
Copy link
Contributor

@CarlosOlivo CarlosOlivo commented Oct 9, 2020

This assumes that if an error occurs when loading the url of the saved instance, it is not available. Which would redirect the user to the connection fragment instead of showing a WebView error. Similar to previous behavior in v2.0.0-rc.3

Note: This only handles the case when even cache loading fails, #44 still needs to be fixed.

See #44 (comment) #131 #173

@nielsvanvelzen nielsvanvelzen added this to In progress in v2.1.0 via automation Oct 9, 2020
@Maxr1998
Copy link
Member

I'm not 100% sure why I removed that anymore, but I think I did because my code was a bit oversensitive, showing the error page when only something like a script or JavaScript call failed..

But well, we can merge this and give it a try, if there are to many false positives, we can always revert it again.

@Maxr1998 Maxr1998 merged commit 4dd406c into jellyfin:master Oct 11, 2020
v2.1.0 automation moved this from In progress to Done Oct 11, 2020
@CarlosOlivo CarlosOlivo deleted the handle-webview-error branch October 11, 2020 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants