From e4d897aa0c73474a29dca7abaf9a62f90f4fc431 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Wed, 21 Feb 2018 06:35:20 +0100 Subject: [PATCH] Quitting after running getUpdates. --- .../kotlin/de/fabianonline/telegram_backup/UpdatesManager.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/de/fabianonline/telegram_backup/UpdatesManager.kt b/src/main/kotlin/de/fabianonline/telegram_backup/UpdatesManager.kt index 50d58cc..29d27d4 100644 --- a/src/main/kotlin/de/fabianonline/telegram_backup/UpdatesManager.kt +++ b/src/main/kotlin/de/fabianonline/telegram_backup/UpdatesManager.kt @@ -21,5 +21,7 @@ object UpdatesManager { println("diff type: ${diff.javaClass}") println(diff.toPrettyJson()) + + System.exit(1) } }