mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
force basic errors to the console before exit
This commit is contained in:
parent
9359681eca
commit
91ef327cb7
@ -45,6 +45,8 @@ public class NBCLI {
|
||||
cli.run(args);
|
||||
} catch (Exception e) {
|
||||
if (e instanceof BasicError) {
|
||||
System.out.println("ERROR: " + e.getMessage());
|
||||
System.out.flush();
|
||||
logger.error("ERROR: " + e.getMessage());
|
||||
System.exit(2);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user