Commit 94ea18e6 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 735591 - [PATCH] Provide exit code in case generatePlantUMLOutput fails

parent 88832b15
...@@ -85,8 +85,8 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp ...@@ -85,8 +85,8 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
portable_sysTimerStart(); portable_sysTimerStart();
if ((exitCode=portable_system(pumlExe,pumlArgs,FALSE))!=0) if ((exitCode=portable_system(pumlExe,pumlArgs,FALSE))!=0)
{ {
err("Problems running PlantUML. Verify that the command 'java -jar \"%splantuml.jar\" -h' works from the command line\n", err("Problems running PlantUML. Verify that the command 'java -jar \"%splantuml.jar\" -h' works from the command line. Exit code: %d\n",
plantumlJarPath.data()); plantumlJarPath.data(),exitCode);
} }
else if (Config_getBool("DOT_CLEANUP")) else if (Config_getBool("DOT_CLEANUP"))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment