aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-home')
-rw-r--r--sonar-home/src/main/java/org/sonar/home/cache/FileCache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java
index bed2671dc6a..1b12814c1df 100644
--- a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java
+++ b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java
@@ -144,7 +144,7 @@ public class FileCache {
} catch (IOException e) {
// ignore except the last try
if (counter == TEMP_FILE_ATTEMPTS - 1) {
- throw new IllegalStateException();
+ throw new IllegalStateException("Fail to create temp file", e);
}
}
}