mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2026-09-30 00:02:39 +00:00
CommandLineController.show_error() now also sends the error to the logger.
This commit is contained in:
1 parent
f73a00f9cc
commit
e32924fc00
1 file changed
+1
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user