Skip to content

Commit d54e028

Browse files
committed
Improve logging
1 parent 3ec0e61 commit d54e028

File tree

1 file changed

+1
-1
lines changed
  • src/sonar-sql-plugin/src/main/java/org/sonar/plugins/sql/sensors

1 file changed

+1
-1
lines changed

src/sonar-sql-plugin/src/main/java/org/sonar/plugins/sql/sensors/BaseSensor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ protected static synchronized void addIssues(SensorContext context, final SqlIss
142142
newIssue.at(loc).save();
143143

144144
} catch (Throwable e) {
145-
LOGGER.warn("Unexpected error adding issue on file " + fileName, e);
145+
LOGGER.warn("Unexpected error adding issue on file " + fileName+" for issue: "+issue, e);
146146

147147
}
148148
}

0 commit comments

Comments
 (0)