From 1541d3c5512f309beecf767ca0211ca269878bde Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 14 Feb 2018 10:58:51 -0800 Subject: [PATCH] Update DownloadManager.kt --- .../kotlin/de/fabianonline/telegram_backup/DownloadManager.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/de/fabianonline/telegram_backup/DownloadManager.kt b/src/main/kotlin/de/fabianonline/telegram_backup/DownloadManager.kt index 42ca76a..f6b9f48 100644 --- a/src/main/kotlin/de/fabianonline/telegram_backup/DownloadManager.kt +++ b/src/main/kotlin/de/fabianonline/telegram_backup/DownloadManager.kt @@ -434,6 +434,9 @@ class DownloadManager(internal var client: TelegramClient?, p: DownloadProgressI continue // response is null since we didn't actually receive any data. Skip the rest of this iteration and try again. } else if (e.getCode() == 400) { //Somehow this file is broken. No idea why. Let's skip it for now + System.out.println("400 error code") + e.printStackTrace() + System.out.println("400 error code") return false } else { throw e