Merge pull request #43 from Hypfer/master

Fix #41.
This commit is contained in:
Fabian Schlenz 2017-03-23 13:10:34 +01:00 committed by GitHub
commit 88eb7a412c
1 changed files with 4 additions and 0 deletions

View File

@ -336,6 +336,10 @@ public class DownloadManager {
if (e.getTag().startsWith("420: FLOOD_WAIT_")) {
try_again = true;
Utils.obeyFloodWaitException(e);
} else if (e.getCode()==400) {
//Somehow this file is broken. No idea why. Let's skip it for now
try_again = true;
return false;
} else {
throw e;
}