Skip to content

Commit 2e90875

Browse files
committed
fix: sbt-bloop - add cause to error log if bloopGenerate fails
1 parent 29904e1 commit 2e90875

File tree

1 file changed

+2
-2
lines changed
  • integrations/sbt-bloop/src/main/scala/bloop/integrations/sbt

1 file changed

+2
-2
lines changed

integrations/sbt-bloop/src/main/scala/bloop/integrations/sbt/SbtBloop.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,8 @@ object BloopDefaults {
10571057
Some(outFile)
10581058
}
10591059
}.result.map {
1060-
case Inc(_) =>
1061-
logger.error(s"Couldn't run bloopGenerate for $projectName")
1060+
case Inc(cause) =>
1061+
logger.error(s"Couldn't run bloopGenerate for $projectName. Cause:\n$cause")
10621062
None
10631063
case Value(maybeFile) =>
10641064
maybeFile

0 commit comments

Comments
 (0)