From e1e57658b40bd0b2d9bf2026c68be2490048a662 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Tue, 18 Jun 2013 09:42:38 +0200 Subject: [PATCH] SONARPLUGINS-2982 Display command in case of execution error in ForkedRunner --- .../src/main/java/org/sonar/runner/api/ForkedRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-runner-api/src/main/java/org/sonar/runner/api/ForkedRunner.java b/sonar-runner-api/src/main/java/org/sonar/runner/api/ForkedRunner.java index 05c38bb..90b2a85 100644 --- a/sonar-runner-api/src/main/java/org/sonar/runner/api/ForkedRunner.java +++ b/sonar-runner-api/src/main/java/org/sonar/runner/api/ForkedRunner.java @@ -178,7 +178,7 @@ public class ForkedRunner extends Runner { } int status = commandExecutor.execute(forkCommand.command, stdOut, stdErr, ONE_DAY_IN_MILLISECONDS); if (status != 0) { - throw new IllegalStateException("Error status: " + status); + throw new IllegalStateException("Error status [command: " + forkCommand.command + "]: " + status); } } -- 2.39.5