Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel committed Oct 28, 2015
1 parent c1d6eb4 commit 7c39010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/UnitCheck.mo
Expand Up @@ -1006,7 +1006,7 @@ algorithm
then (Unit.MASTER({}), (HtCr2U, HtS2U, HtU2S), {});

else equation
Error.addInternalError("./Compiler/BackEnd/UnitCheck.mo: function insertUnitinEquation failed", sourceInfo());
Error.addInternalError("./Compiler/BackEnd/UnitCheck.mo: function insertUnitinEquation failed for " + ExpressionDump.printExpStr(inEq), sourceInfo());
then fail();
end matchcontinue;
end insertUnitinEquation;
Expand Down

0 comments on commit 7c39010

Please sign in to comment.