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
1 changed files with 1 additions and 0 deletions

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);
}