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:
parent
f73a00f9cc
commit
e32924fc00
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user