Merge branch 'stable-3.3' into stable-3.4 * stable-3.3: Fix Flogger formatting of exception in AutoAdjustCachesCommand Change-Id: I95c6294a354c0317f07fc44f45ae9a854a18fd82
diff --git a/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/AutoAdjustCachesCommand.java b/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/AutoAdjustCachesCommand.java index de41471..580bd98 100644 --- a/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/AutoAdjustCachesCommand.java +++ b/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/AutoAdjustCachesCommand.java
@@ -86,7 +86,7 @@ stderr.println(e.getLocalizedMessage()); throw e; } catch (IOException e) { - logger.atSevere().log("Could not create new cache", e); + logger.atSevere().withCause(e).log("Could not create new cache"); stderr.println(String.format("Could not create new cache : %s", e.getLocalizedMessage())); } }