We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1792a21 commit aca4fc0Copy full SHA for aca4fc0
1 file changed
OMPython/OMCSession.py
@@ -528,9 +528,9 @@ def run(self) -> int:
528
if stderr:
529
raise ModelExecutionException(f"Error running model executable {repr(cmdl)}: {stderr}")
530
except subprocess.TimeoutExpired as ex:
531
- raise ModelExecutionException(f"Timeout running model executable {repr(cmdl)}") from ex
+ raise ModelExecutionException(f"Timeout running model executable {repr(cmdl)}: {ex}") from ex
532
except subprocess.CalledProcessError as ex:
533
- raise ModelExecutionException(f"Error running model executable {repr(cmdl)}") from ex
+ raise ModelExecutionException(f"Error running model executable {repr(cmdl)}: {ex}") from ex
534
535
return returncode
536
0 commit comments