commit | bd3ecf87b2c65ac39392eebd70b96e6d9ff9a0d2 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Sat Mar 05 10:51:41 2022 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Sat Mar 05 10:51:41 2022 +0000 |
tree | 82acd6ed8a87e1d66340f061a8e018b72ddb7de7 | |
parent | 8c7f2f0b8f171aff9d0d0a59866d0544debe3731 [diff] | |
parent | c957384647373b59875cc0bf438b013c2751661c [diff] |
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())); } }