mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-19 22:37:09 -04:00
[app] catch auto-download exception
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user