diff --git a/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java b/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java index 8424e7a..064f06d 100644 --- a/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java +++ b/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java @@ -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); }