mirror of https://github.com/sbt/sbt.git
Merge pull request #5255 from eatkins/scripted-exceptions
Don't print stack trace for pending tests
This commit is contained in:
commit
9e02d31fcf
|
|
@ -417,7 +417,7 @@ final class ScriptedTests(
|
|||
if (t.isInstanceOf[TestException]) {
|
||||
t.getCause match {
|
||||
case null | _: SocketException => log.error(s" Cause of test exception: ${t.getMessage}")
|
||||
case _ => t.printStackTrace()
|
||||
case _ => if (!pending) t.printStackTrace()
|
||||
}
|
||||
log.play()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue