Skip to content

Commit

Permalink
copy paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
aleneum committed Oct 1, 2017
1 parent 6d472b9 commit f23d85d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion transitions/extensions/diagrams.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ def _add_edges(self, events, container):
edge.attr['label'] = edge.attr['label'] + ' | ' + edge_attr['label']
else:
try:
a container.add_edge(src, dst, **edge_attr)
logger.debug("Adding edge from {0} to {1} with attributes {2}".format(src, dst,
str(edge_attr)))
container.add_edge(src, dst, **edge_attr)
except KeyError as e:
logger.error("Could not add edge from {0} to {1}".format(src, dst))
raise e
Expand Down

0 comments on commit f23d85d

Please sign in to comment.