]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9734 fix log level when fail to delete temp directory
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 18 Aug 2017 20:17:01 +0000 (22:17 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 21 Aug 2017 19:39:26 +0000 (21:39 +0200)
sonar-plugin-api/src/main/java/org/sonar/api/utils/internal/DefaultTempFolder.java

index 62e37a5527eba3c5951856157ccc64bd2e79e891..a921452d83c4207c440c39bb9c80bb059d3fc999 100644 (file)
@@ -95,7 +95,7 @@ public class DefaultTempFolder implements TempFolder {
     try {
       Files.walkFileTree(tempDir.toPath(), DeleteRecursivelyFileVisitor.INSTANCE);
     } catch (IOException e) {
-      LOG.trace("Failed to delete temp folder", e);
+      LOG.error("Failed to delete temp folder", e);
     }
   }