]> source.dussan.org Git - sonarqube.git/commitdiff
Don't hide stack trace in BatchDownloader
authorEvgeny Mandrikov <mandrikov@gmail.com>
Sun, 30 Jan 2011 23:40:27 +0000 (02:40 +0300)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Sun, 30 Jan 2011 23:40:27 +0000 (02:40 +0300)
sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java

index 83d003007e0468f0e4579f7569752fa951583bf1..eead8dc6d5e5edb5450f6680b89a89efb1422410 100644 (file)
@@ -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);