snazy commented on code in PR #4594:
URL: https://github.com/apache/iceberg/pull/4594#discussion_r854256023


##########
nessie/src/main/java/org/apache/iceberg/nessie/NessieTableOperations.java:
##########
@@ -173,7 +207,7 @@ protected void doCommit(TableMetadata base, TableMetadata 
metadata) {
       throw new CommitStateUnknownException(ex);
     } catch (NessieNotFoundException ex) {
       throw new RuntimeException(
-          String.format("Cannot commit: Reference '%s' no longer exists", 
client.getRef().getName()), ex);
+          String.format("Cannot commit: Reference '%s' no longer exists", 
updateableReference.getName()), ex);

Review Comment:
   The result of `client.getRef()` _could_ change in the meantime.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to