1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-12-25 22:35:35 +00:00

CommandLineController.show_error() now also sends the error to the logger.

This commit is contained in:
Fabian Schlenz 2016-10-26 21:19:05 +02:00
parent f73a00f9cc
commit e32924fc00

View File

@ -263,6 +263,7 @@ public class CommandLineController {
}
public static void show_error(String error) {
logger.error(error);
System.out.println("ERROR: " + error);
System.exit(1);
}