diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-21 17:14:47 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-21 17:14:47 +0200 |
commit | 853cb392d56ded01fe1e1bc902022d56cf4a90e8 (patch) | |
tree | 9c312ab6f64cd0815b30eb39567448f2a109180f /sonar-batch | |
parent | ef47e984b8ec09341cd78196cdc18e338cd53b1b (diff) | |
download | sonarqube-853cb392d56ded01fe1e1bc902022d56cf4a90e8.tar.gz sonarqube-853cb392d56ded01fe1e1bc902022d56cf4a90e8.zip |
Fix quality flaws
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempFolderProvider.java | 4 |
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); } } |