mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2025-08-19 01:16:50 +00:00
Now catching (and printing) ALL exceptions in CommandLineController.
This commit is contained in:
@@ -140,7 +140,8 @@ class CommandLineController {
|
|||||||
} else {
|
} else {
|
||||||
println("Skipping media download because --no-media is set.")
|
println("Skipping media download because --no-media is set.")
|
||||||
}
|
}
|
||||||
} catch (e: Exception) {
|
} catch (e: Throwable) {
|
||||||
|
println("An error occured!")
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
logger.error("Exception caught!", e)
|
logger.error("Exception caught!", e)
|
||||||
// If we encountered an exception, we definitely don't want to start the daemon mode now.
|
// If we encountered an exception, we definitely don't want to start the daemon mode now.
|
||||||
|
Reference in New Issue
Block a user