Skip to content

Commit d197e75

Browse files
Fix exit in UpdateHistorySanityCheckPlugin (#2368)
Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>
1 parent 2e653cb commit d197e75

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/app/src/test/scala/org/lfdecentralizedtrust/splice/integration/plugins/UpdateHistorySanityCheckPlugin.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,9 @@ class UpdateHistorySanityCheckPlugin(
210210
log.contains("ERROR:") || log.contains("WARNING:")
211211
}
212212
if (lines.nonEmpty) {
213-
logger.error(s"${this.getClass} contains errors: $lines, exiting test.")
213+
val message = s"${this.getClass} contains errors: $lines, exiting test."
214+
logger.error(message)
215+
System.err.println(message)
214216
sys.exit(1)
215217
}
216218
lines should be(empty)

0 commit comments

Comments
 (0)