From 94ea18e60c50db14f25eda642be020fac5917b3c Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sat, 30 Aug 2014 20:12:19 +0200 Subject: Bug 735591 - [PATCH] Provide exit code in case generatePlantUMLOutput fails --- src/plantuml.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plantuml.cpp b/src/plantuml.cpp index 18f028b..7e2863e 100644 --- a/src/plantuml.cpp +++ b/src/plantuml.cpp @@ -85,8 +85,8 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp portable_sysTimerStart(); 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", - plantumlJarPath.data()); + err("Problems running PlantUML. Verify that the command 'java -jar \"%splantuml.jar\" -h' works from the command line. Exit code: %d\n", + plantumlJarPath.data(),exitCode); } else if (Config_getBool("DOT_CLEANUP")) { -- cgit v0.12