aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-01-31 02:40:27 +0300
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-01-31 02:40:27 +0300
commitcffdb0bdd4c32f5eec12d44a551b73c8fabb6b37 (patch)
tree50ff1a9a07ba8981e34f0cf235c63a9fe12914b1
parentb57d1e3fa0e8c0fb15d408eb7729da9823ac3540 (diff)
downloadsonarqube-cffdb0bdd4c32f5eec12d44a551b73c8fabb6b37.tar.gz
sonarqube-cffdb0bdd4c32f5eec12d44a551b73c8fabb6b37.zip
Don't hide stack trace in BatchDownloader
-rw-r--r--sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java b/sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java
index 83d003007e0..eead8dc6d5e 100644
--- a/sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java
+++ b/sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java
@@ -100,7 +100,7 @@ public class BatchDownloader {
} catch (Exception e) {
BootstrapperIOUtils.closeQuietly(output);
BootstrapperIOUtils.deleteFileQuietly(toFile);
- throw new RuntimeException("Fail to download the file: " + fullUrl);
+ throw new RuntimeException("Fail to download the file: " + fullUrl, e);
} finally {
BootstrapperIOUtils.closeQuietly(input);
BootstrapperIOUtils.closeQuietly(output);