Merge branch 'improve-error' into 'master'

Mention F-Droid in index file fetch error string

See merge request fdroid/fdroidclient!803
This commit is contained in:
Hans-Christoph Steiner 2019-03-21 21:59:28 +00:00
commit ff111bd6af
2 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ public class IndexUpdater {
}
}
throw new UpdateException("Error getting index file", e);
throw new UpdateException("Error getting F-Droid index file", e);
} catch (InterruptedException e) {
// ignored if canceled, the local database just won't be updated
e.printStackTrace();

View File

@ -176,7 +176,7 @@ public class IndexV1Updater extends IndexUpdater {
if (downloader != null) {
FileUtils.deleteQuietly(downloader.outputFile);
}
throw new IndexUpdater.UpdateException("Error getting index file", e2);
throw new IndexUpdater.UpdateException("Error getting F-Droid index file", e2);
} catch (InterruptedException e2) {
// ignored if canceled, the local database just won't be updated
}
@ -185,7 +185,7 @@ public class IndexV1Updater extends IndexUpdater {
if (downloader != null) {
FileUtils.deleteQuietly(downloader.outputFile);
}
throw new IndexUpdater.UpdateException("Error getting index file", e);
throw new IndexUpdater.UpdateException("Error getting F-Droid index file", e);
} catch (InterruptedException e) {
// ignored if canceled, the local database just won't be updated
}