IOException isn't unexpected when checking for updates

This commit is contained in:
M66B 2019-05-13 22:50:57 +02:00
parent 9c709bd881
commit 7c8d914f26
1 changed files with 1 additions and 1 deletions

View File

@ -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);