From 1f269ad60478b90fcc9362bcdd99c7d2eb099936 Mon Sep 17 00:00:00 2001 From: Aleksandra Zdrojowa Date: Thu, 4 Dec 2025 16:12:11 +0100 Subject: [PATCH] change the order of FailureWall & PopOnFailure in the reload command #8389 - it's done to prevent the sbt process from being killed in case of task failure after a load failure has been executed --- main/src/main/scala/sbt/Main.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/scala/sbt/Main.scala b/main/src/main/scala/sbt/Main.scala index a32f661b7..5faa19a60 100644 --- a/main/src/main/scala/sbt/Main.scala +++ b/main/src/main/scala/sbt/Main.scala @@ -893,8 +893,8 @@ object BuiltinCommands { StashOnFailure :: (OnFailure + " " + loadProjectCommand(LoadFailed, arg)) :: loadProjectCommand(LoadProjectImpl, arg) :: - PopOnFailure :: State.FailureWall :: + PopOnFailure :: Nil def loadProject: Command =