aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-xoo-plugin
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-04-08 18:10:28 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-04-11 10:26:57 +0200
commita5338f2a09043c24f2cae4fc50ac4fc82891eaaf (patch)
tree50ad31f3704e2646f180aae68f9cde861ac7ef5d /plugins/sonar-xoo-plugin
parent18ecc4bf840ef3d7b37a802a66e282b866d64626 (diff)
downloadsonarqube-a5338f2a09043c24f2cae4fc50ac4fc82891eaaf.tar.gz
sonarqube-a5338f2a09043c24f2cae4fc50ac4fc82891eaaf.zip
SONAR-7540 Throwable attached to logs is lost on scanner side when using LogOutput API
Diffstat (limited to 'plugins/sonar-xoo-plugin')
-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);
}
}