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:
		
						commit
						ff111bd6af
					
				@ -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();
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user