Skip to content

Commit 2c3ab36

Browse files
committed
[ModelicaSystem] remove OMCSessionException for now
1 parent 34921ee commit 2c3ab36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def getContinuous(self, names=None): # 4
420420
try:
421421
value = self.getSolutions(i)
422422
self.continuouslist[i] = value[0][-1]
423-
except OMCSessionException as ex:
423+
except Exception as ex:
424424
raise ModelicaSystemError(f"{i} could not be computed") from ex
425425
return self.continuouslist
426426

0 commit comments

Comments
 (0)