Log unexpected errors

This commit is contained in:
M66B
2019-09-20 14:35:26 +02:00
parent 91dba221f6
commit 7b7b7a4189
6 changed files with 4 additions and 9 deletions

View File

@@ -529,10 +529,8 @@ public class FragmentSetup extends FragmentBase {
Log.w(ex);
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
Snackbar.make(view, Helper.formatThrowable(ex), Snackbar.LENGTH_LONG).show();
} else {
Log.e(ex);
} else
Helper.unexpectedError(getFragmentManager(), ex);
}
}
}
},