Don't crash if DB downloading fails

This commit is contained in:
xynngh 2020-09-06 17:42:21 +04:00
parent b7a7854afd
commit 9834bb4449
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ public class TaskService extends IntentService {
YacbHolder.getCommunityDatabase().reload();
YacbHolder.getFeaturedDatabase().reload();
YacbHolder.getSiaMetadata().reload();
} catch (Exception e) {
LOG.warn("downloadMainDb()", e);
} finally {
removeStickyEvent(sticky);
}