diff --git a/src/main/java/de/retest/recheck/cli/subcommands/Ignore.java b/src/main/java/de/retest/recheck/cli/subcommands/Ignore.java index f1dff09c..d6de939e 100644 --- a/src/main/java/de/retest/recheck/cli/subcommands/Ignore.java +++ b/src/main/java/de/retest/recheck/cli/subcommands/Ignore.java @@ -9,6 +9,8 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import com.esotericsoftware.kryo.KryoException; + import de.retest.recheck.cli.PreCondition; import de.retest.recheck.cli.RecheckCli; import de.retest.recheck.cli.TestReportUtil; @@ -83,6 +85,9 @@ public void run() { saveRecheckIgnore(); } 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." ); } } }