mirror of https://github.com/M66B/FairEmail.git
IOException isn't unexpected when checking for updates
This commit is contained in:
parent
9c709bd881
commit
7c8d914f26
|
@ -796,7 +796,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
if (args.getBoolean("always"))
|
||||
if (ex instanceof IllegalArgumentException)
|
||||
if (ex instanceof IllegalArgumentException || ex instanceof IOException)
|
||||
Snackbar.make(getVisibleView(), ex.getMessage(), Snackbar.LENGTH_LONG).show();
|
||||
else
|
||||
Helper.unexpectedError(ActivityView.this, ActivityView.this, ex);
|
||||
|
|
Loading…
Reference in New Issue