Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 189d6b8

Browse files
committed
fixed bug for exceptions
1 parent 1030be2 commit 189d6b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sflkit/language/python/factory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ def visit_Try(self, node: Try) -> Injection:
215215
orelse=[self.get_event_call(else_branch_event)],
216216
events=[else_branch_event],
217217
)
218+
else:
219+
return Injection()
218220

219221

220222
class DefEventFactory(PythonEventFactory):

0 commit comments

Comments
 (0)