[app] catch auto-download exception

This commit is contained in:
Torsten Grote
2023-06-13 13:52:36 -03:00
parent 6be85d9132
commit c02dc57daf

View File

@@ -535,6 +535,7 @@ public class UpdateService extends JobIntentService {
return Single.fromCallable(() -> updateChecker.getUpdatableApps(releaseChannels))
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.doOnError(throwable -> Log.e(TAG, "Error auto-downloading updates: ", throwable))
.subscribe(updatableApps -> downloadUpdates(context, updatableApps));
}