Workflow graph: target metric with no root fix

This commit is contained in:
Dmitry
2017-09-04 23:44:08 -07:00
parent 76287f629a
commit 993c802047
+2 -1
View File
@@ -130,7 +130,8 @@ class Workflow(object):
return
if self._root_hash not in self._commits:
Logger.warn('Root commit cannot be found')
Logger.warn('Cannot derive target metrics deltas: root commit was not found')
return
current_target_metric = None
commit = self._commits[self._root_hash]