Skip to content

Commit

Permalink
Print stderr on failure in ScalaCli when evaluating task
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed May 12, 2023
1 parent 45115ed commit 2770cdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project-builder/scala-cli/build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ class CliTaskEvaluator(scalaVersion: String, repositoryDir: String)
EvalResult.Value(nullT, evalTime = tookMillis)
case exitCode =>
println(s"Failed to evaluated $task: exitCode ${exitCode}")
proc.err.lines().foreach(System.err.println)
val failure = EvalResult.Failure(
EvaluationFailure(proc.err.toString()) :: Nil,
evalTime = tookMillis
Expand Down

0 comments on commit 2770cdf

Please sign in to comment.