changeset 1150:0d95740f0c64

GlobalConfigMain, Scanner - more informations on config error
author Devel 2
date Fri, 12 Jun 2020 12:57:57 +0200
parents fd3c71a0ec25
children 65f4b7539281
files stress-tester/src/main/java/com/passus/st/GlobalConfigMain.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/GlobalConfigMain.java	Fri Jun 12 12:57:16 2020 +0200
+++ b/stress-tester/src/main/java/com/passus/st/GlobalConfigMain.java	Fri Jun 12 12:57:57 2020 +0200
@@ -71,7 +71,7 @@
                 StringBuilder sb = new StringBuilder();
 
                 errors.getAllErrors().forEach(error -> {
-                    sb.append(error.getMessage()).append("\n");
+                    sb.append(error.toString()).append("\n");
                 });
 
                 cliHelper.printError(sb.toString());