Skip to content

Commit

Permalink
use log statement with debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
ivonx committed Jun 12, 2019
1 parent 63f3ae6 commit ee20d70
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/main/java/de/retest/recheck/cli/subcommands/Commit.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public void run() {
logger.error( "An error occurred while loading the test report!", e );
} catch ( final KryoException e ) {
logger.error( "The report was created with another, incompatible recheck version.\r\n"
+ "Please, use the same recheck version to load a report with which it was generated.", e );
+ "Please, use the same recheck version to load a report with which it was generated." );
logger.debug( "StackTrace: ", e );
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/main/java/de/retest/recheck/cli/subcommands/Diff.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public void run() {
logger.error( "Differences couldn't be printed:", e );
} catch ( final KryoException e ) {
logger.error( "The report was created with another, incompatible recheck version.\r\n"
+ "Please, use the same recheck version to load a report with which it was generated.", e );
+ "Please, use the same recheck version to load a report with which it was generated." );
logger.debug( "StackTrace: ", e );
}
}

Expand Down
7 changes: 3 additions & 4 deletions src/main/java/de/retest/recheck/cli/subcommands/Ignore.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,9 @@ public void run() {
} catch ( final IOException e ) {
logger.error( "An error occurred while loading the test report!", e );
} catch ( final KryoException e ) {
logger.error(
"The report was created with another, incompatible recheck version.\r\n"
+ "Please, use the same recheck version to load a report with which it was generated.",
e );
logger.error( "The report was created with another, incompatible recheck version.\r\n"
+ "Please, use the same recheck version to load a report with which it was generated." );
logger.debug( "StackTrace: ", e );
}
}
}
Expand Down

0 comments on commit ee20d70

Please sign in to comment.