lib/pallets/graph.rb in pallets-0.3.0 vs lib/pallets/graph.rb in pallets-0.4.0

- old
+ new

@@ -41,8 +41,10 @@ @nodes.each_key(&block) end def tsort_each_child(node, &block) @nodes.fetch(node).each(&block) + rescue KeyError + raise WorkflowError, "Task #{node} is marked as a dependency but not defined" end end end