diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-05-25 15:51:44 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-05-25 15:51:44 +0200 |
commit | a00b76dd1b57d56fd06797b79b6b62bd1b5fcf9d (patch) | |
tree | 3adb51e49beeacdb2d4d52b99444ac5094d8ac1f /sonar-batch | |
parent | ff4d30779e2b145efd7cc7ae8dee259721a7e20e (diff) | |
download | sonarqube-a00b76dd1b57d56fd06797b79b6b62bd1b5fcf9d.tar.gz sonarqube-a00b76dd1b57d56fd06797b79b6b62bd1b5fcf9d.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java index 9deee34e35e..254cd8c4f25 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java @@ -21,6 +21,7 @@ package org.sonar.batch.bootstrapper; import com.google.common.collect.Lists; import com.google.common.collect.Maps; +import org.slf4j.LoggerFactory; import org.sonar.api.batch.bootstrap.ProjectReactor; import org.sonar.batch.bootstrap.BootstrapModule; import org.sonar.batch.bootstrap.Module; @@ -77,6 +78,7 @@ public final class Batch { bootstrapModule.stop(); } catch (Exception e) { // never throw exceptions in a finally block + LoggerFactory.getLogger(Batch.class).error("Error while stopping batch", e); } } } |