aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-04-08 18:10:28 +0200
committerTom <thomas.verin@sonarsource.com>2016-04-11 14:15:48 +0200
commitc8b01d4f1520a14be831547f6b35c072a8b9517e (patch)
tree0fc8674d03a0652df01e3889f05054f4c1b67771 /plugins
parenta7f4d94e61feb9c28b5266901f9b72cbfa326b2f (diff)
downloadsonarqube-c8b01d4f1520a14be831547f6b35c072a8b9517e.tar.gz
sonarqube-c8b01d4f1520a14be831547f6b35c072a8b9517e.zip
SONAR-7540 Throwable attached to logs is lost on scanner side when using LogOutput API
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java
index 9562f300fb1..d03537c8094 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java
@@ -77,6 +77,7 @@ public class MeasureSensor implements Sensor {
String value = line.substring(metricKey.length() + 1);
saveMeasure(context, inputFile, metricKey, value);
} catch (Exception e) {
+ LOG.error("Error processing line " + lineNumber + " of file " + measureFile.getAbsolutePath(), e);
throw new IllegalStateException("Error processing line " + lineNumber + " of file " + measureFile.getAbsolutePath(), e);
}
}