nastra commented on code in PR #6712: URL: https://github.com/apache/iceberg/pull/6712#discussion_r1094775416
########## nessie/src/main/java/org/apache/iceberg/nessie/NessieCatalog.java: ########## @@ -103,7 +103,9 @@ public void initialize(String name, Map<String, String> options) { api = nessieClientBuilder.build(NessieApiV2.class); } else { throw new IllegalArgumentException( - "Unsupported client-api-version: " + apiVersion + ". Can only be v1 or v2"); + String.format( + "Unsupported %s: " + apiVersion + ". Can only be v1 or v2", Review Comment: I think it would be good to add a test for this -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org