diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-04-08 18:10:28 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-04-11 10:26:57 +0200 |
commit | a5338f2a09043c24f2cae4fc50ac4fc82891eaaf (patch) | |
tree | 50ad31f3704e2646f180aae68f9cde861ac7ef5d /plugins/sonar-xoo-plugin/src | |
parent | 18ecc4bf840ef3d7b37a802a66e282b866d64626 (diff) | |
download | sonarqube-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/src')
-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); } } |