Merge branch 'stable-3.9'

* stable-3.9:
  Roll back batch ref updates on uncaught throwables

Change-Id: I0ae7b2d8536398917c82e12f918d1ea19687f123
diff --git a/src/main/java/com/gerritforge/gerrit/globalrefdb/validation/RefUpdateValidator.java b/src/main/java/com/gerritforge/gerrit/globalrefdb/validation/RefUpdateValidator.java
index ec8ff82..d955599 100644
--- a/src/main/java/com/gerritforge/gerrit/globalrefdb/validation/RefUpdateValidator.java
+++ b/src/main/java/com/gerritforge/gerrit/globalrefdb/validation/RefUpdateValidator.java
@@ -225,8 +225,8 @@
               Project.nameKey(projectName), refPair.compareRef, refPair.putValue);
     } catch (GlobalRefDbSystemError e) {
       logger.atWarning().withCause(e).log(
-          "Not able to persist the data in global-refdb for project '%s' and ref '%s', message: %s",
-          projectName, refPair.getName(), e.getMessage());
+          "Not able to persist the data in global-refdb for project '%s', ref '%s' and value %s, message: %s",
+          projectName, refPair.getName(), refPair.putValue, e.getMessage());
       throw e;
     }