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