1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-22 16:56:16 +00:00
I don't know why that one file is broken and nor do I care.
This could use some debug logging. Well. Whatever.
This commit is contained in:
Hypfer 2017-03-20 20:26:40 +01:00 committed by GitHub
parent 50ba11a86c
commit 0de09c45dc

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;
}