aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempFolderProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempFolderProvider.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempFolderProvider.java
index 4ca4fe75dcb..686b37a591a 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempFolderProvider.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempFolderProvider.java
@@ -80,13 +80,13 @@ public class TempFolderProvider extends LifecycleProviderAdapter {
try {
Files.createDirectories(workingPath);
} catch (IOException e) {
- throw new IllegalStateException("Failed to create working path: " + workingPath);
+ throw new IllegalStateException("Failed to create working path: " + workingPath, e);
}
try {
return Files.createTempDirectory(workingPath, TMP_NAME_PREFIX);
} catch (IOException e) {
- throw new IllegalStateException("Failed to create temporary folder in " + workingPath);
+ throw new IllegalStateException("Failed to create temporary folder in " + workingPath, e);
}
}