Skip to content

Commit

Permalink
bugfix: Fix compilation after updating sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Oct 21, 2024
1 parent 6e614d4 commit 1818836
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ final class BloopHighLevelCompiler(
case t: StackOverflowError =>
val msg = "Encountered a StackOverflowError coming from the compiler. You might need to restart your Bloop build server"
logger.error(s"${msg}:\n${t.getStackTrace().mkString("\n")}")
throw new CompileFailed(new Array(0), msg, new Array(0), t)
throw new CompileFailed(new Array(0), msg, new Array(0), None, t)
case t: NoClassDefFoundError =>
val msg = "Encountered a NoClassDefFoundError coming from the compiler. You might need to clean compile your workspace"
logger.error(s"${msg}:\n${t.getStackTrace().mkString("\n")}")
throw new CompileFailed(new Array(0), msg, new Array(0), t)
throw new CompileFailed(new Array(0), msg, new Array(0), None, t)
case NonFatal(t) =>
// If scala compilation happens, complete the java promise so that it doesn't block
JavaCompleted.tryFailure(t)
Expand Down

0 comments on commit 1818836

Please sign in to comment.