Skip to content

Commit 59e82f7

Browse files
committed
CxxIssuesReportSensor: extend log
1 parent 8d2c035 commit 59e82f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cxx-sensors/src/main/java/org/sonar/cxx/sensors/utils/CxxIssuesReportSensor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ private InputFile getInputFileTryRealPath(SensorContext sensorContext, String pa
145145
realPath = absolutePath.toRealPath(LinkOption.NOFOLLOW_LINKS);
146146
} catch (IOException e) {
147147
if (LOG.isDebugEnabled()) {
148-
LOG.debug("Unable to get the real path: module {}, baseDir {}, path {}", sensorContext.module().key(),
149-
sensorContext.fileSystem().baseDir(), path);
148+
LOG.debug("Unable to get the real path: module '{}', baseDir '{}', path '{}', excepiton '{}'",
149+
sensorContext.module().key(), sensorContext.fileSystem().baseDir(), path, e);
150150
}
151151
return null;
152152
}

0 commit comments

Comments
 (0)