Skip to content

Commit

Permalink
fixed bug for exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
smythi93 committed Jul 24, 2023
1 parent 1030be2 commit 189d6b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sflkit/language/python/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ def visit_Try(self, node: Try) -> Injection:
orelse=[self.get_event_call(else_branch_event)],
events=[else_branch_event],
)
else:
return Injection()


class DefEventFactory(PythonEventFactory):
Expand Down

0 comments on commit 189d6b8

Please sign in to comment.