diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-04-08 18:10:28 +0200 |
---|---|---|
committer | Tom <thomas.verin@sonarsource.com> | 2016-04-11 14:15:48 +0200 |
commit | c8b01d4f1520a14be831547f6b35c072a8b9517e (patch) | |
tree | 0fc8674d03a0652df01e3889f05054f4c1b67771 /plugins | |
parent | a7f4d94e61feb9c28b5266901f9b72cbfa326b2f (diff) | |
download | sonarqube-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.java | 1 |
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); } } |