Skip to content

Commit

Permalink
Add stack to error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidner committed May 29, 2022
1 parent e42ee5a commit 27511a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openmdao_bridge_matlab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def compute(self, inputs, outputs, discrete_inputs=None, discrete_outputs=None):

if not response["success"]:
raise om.AnalysisError(
f'MATLAB session "{session}" failed with message: {response["content"]["stdout"]}'
f'MATLAB session "{session}" failed with message "{response["content"]["stdout"]}" and stack {response["stack"]}'
)

result = response["result"]
Expand Down

0 comments on commit 27511a9

Please sign in to comment.