mirror of https://github.com/sbt/sbt.git
better error message when nothing running in task engine
This commit is contained in:
parent
a62bf744c1
commit
75ad56d2bf
|
|
@ -67,7 +67,7 @@ final class Execute[A[_] <: AnyRef](checkCycles: Boolean, triggers: Triggers[A])
|
|||
assert( !reverse.isEmpty, "Nothing to process." )
|
||||
if( !state.values.exists( _ == Running ) ) {
|
||||
snapshotCycleCheck()
|
||||
assert(false, "Nothing running.")
|
||||
assert(false, "Internal task engine error: nothing running. This usually indicates a cycle in tasks.\n Dumping state:\n" + state.mkString("\n\t"))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue