Skip to content

Commit

Permalink
Use module "Error" instead of print for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel committed Oct 13, 2015
1 parent cea00ab commit 9608520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendQSS.mo
Expand Up @@ -117,7 +117,7 @@ algorithm
(QSSINFO({},{},disc,{},eqsdae,zc_exps,0),sc);
else
equation
print("- Main function BackendQSS.generateStructureCodeQSS failed\n");
Error.addInternalError("occurred while generating QSS information.", sourceInfo());
then
fail();
end matchcontinue;
Expand Down

0 comments on commit 9608520

Please sign in to comment.