Log full exception

This commit is contained in:
Ethan Atkins 2020-09-24 11:11:09 -07:00
parent c2c2a26203
commit 42393459a0
1 changed files with 1 additions and 0 deletions

View File

@ -445,6 +445,7 @@ object State {
s.fail
}
private[sbt] def logFullException(e: Throwable, log: Logger): Unit = {
e.printStackTrace(System.err)
log.trace(e)
log.error(ErrorHandling reducedToString e)
log.error("Use 'last' for the full log.")