Skip to content

Commit

Permalink
Print snapshot id to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpross committed Nov 23, 2024
1 parent e1f9604 commit 86c8d9b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.askimed.nf.test.lang.extensions;

import com.askimed.nf.test.core.ITest;
import com.askimed.nf.test.util.AnsiColors;
import com.askimed.nf.test.util.ObjectUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -65,7 +66,8 @@ public boolean match(String id) throws IOException {
file.save();
return true;
} else {
log.debug("Snapshots '{}' do not match.", id);
log.error("Snapshots '{}' do not match.", id);
System.out.println(AnsiColors.red("Error: Snapshots '" + id + "' do not match."));
throw e;
}
}
Expand Down

0 comments on commit 86c8d9b

Please sign in to comment.