Skip to content

Commit

Permalink
Set output if try-block fails (#11796)
Browse files Browse the repository at this point in the history
  • Loading branch information
phannebohm committed Jan 9, 2024
1 parent f48b666 commit 4d7c785
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OMCompiler/Compiler/BackEnd/BackendDAECreate.mo
Expand Up @@ -636,7 +636,8 @@ algorithm
end match;
tplOut := (extAliasVars,repl);
else
Error.addMessage(Error.INTERNAL_ERROR,{"BackendDAECreate.getExternalObjectAlias3 failed for " + BackendDump.equationString(eqIn)});
Error.addInternalError(getInstanceName() + " failed for " + BackendDump.equationString(eqIn), sourceInfo());
tplOut := tplIn;
end try;
end getExternalObjectAlias3;

Expand Down

0 comments on commit 4d7c785

Please sign in to comment.