From a00b76dd1b57d56fd06797b79b6b62bd1b5fcf9d Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 25 May 2012 15:51:44 +0200 Subject: Fix some quality flaws --- sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sonar-batch') 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); } } } -- cgit v1.2.3