From 75ad56d2bf19aad4fa43a05039410d325faf8c34 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Fri, 10 Jun 2011 07:48:54 -0400 Subject: [PATCH] better error message when nothing running in task engine --- tasks/Execute.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/Execute.scala b/tasks/Execute.scala index 8d36df404..3423110b3 100644 --- a/tasks/Execute.scala +++ b/tasks/Execute.scala @@ -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")) } }