commit | 88f4ca30a919e873faa7589f7d47049f36022881 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@digital.ai> | Tue Apr 28 16:20:07 2020 +0900 |
committer | David Pursehouse <dpursehouse@digital.ai> | Tue Apr 28 16:20:07 2020 +0900 |
tree | 7cf4b464c9d54736b24364ef2e2970b1552fb3cd | |
parent | 5cc6b068e7f97c26b25e8004dc2129de76809e09 [diff] |
Improve log message when failing to create backup ref Change-Id: I077018799b92a4da83317cf053121dbeed0d6de6
diff --git a/src/main/java/com/googlesource/gerrit/plugins/refprotection/BackupRef.java b/src/main/java/com/googlesource/gerrit/plugins/refprotection/BackupRef.java index 30e40ca..704ae5c 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/refprotection/BackupRef.java +++ b/src/main/java/com/googlesource/gerrit/plugins/refprotection/BackupRef.java
@@ -171,7 +171,7 @@ | IOException | PermissionBackendException | NoSuchProjectException e) { - log.error(e.getMessage(), e); + log.error("Failed to create backup ref {}", backupRef, e); } } }