CORDA-3306 Fix infinite loop. (#5570)

This commit is contained in:
Tudor Malene 2019-10-09 15:04:08 +01:00 committed by Rick Parker
parent d983b7dd70
commit 0433d026b7

View File

@ -177,7 +177,7 @@ abstract class ANSIProgressRenderer {
ansi.fgRed()
ansi.a("${IntStream.range(indent, indent).mapToObj { "\t" }.toList().joinToString(separator = "") { s -> s }} $errorIcon ${error.message}")
ansi.reset()
errorToPrint = error.cause
errorToPrint = errorToPrint.cause
indent++
}
ansi.eraseLine(Ansi.Erase.FORWARD)