We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6152fe6 commit d55e5e8Copy full SHA for d55e5e8
1 file changed
OMPython/OMCSession.py
@@ -535,9 +535,9 @@ def run(self) -> int:
535
if stderr:
536
raise ModelExecutionException(f"Error running model executable {repr(cmdl)}: {stderr}")
537
except subprocess.TimeoutExpired as ex:
538
- raise ModelExecutionException(f"Timeout running model executable {repr(cmdl)}") from ex
+ raise ModelExecutionException(f"Timeout running model executable {repr(cmdl)}: {ex}") from ex
539
except subprocess.CalledProcessError as ex:
540
- raise ModelExecutionException(f"Error running model executable {repr(cmdl)}") from ex
+ raise ModelExecutionException(f"Error running model executable {repr(cmdl)}: {ex}") from ex
541
542
return returncode
543
0 commit comments