mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-23 01:06:17 +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) {
|
public static void show_error(String error) {
|
||||||
|
logger.error(error);
|
||||||
System.out.println("ERROR: " + error);
|
System.out.println("ERROR: " + error);
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user