This is an automated email from the ASF dual-hosted git repository. lzljs3620320 pushed a commit to branch release-1.3 in repository https://gitbox.apache.org/repos/asf/paimon.git
commit 80c08765dbc9098045c680e5f5787158eba20b67 Author: kevin <[email protected]> AuthorDate: Wed Oct 22 21:31:04 2025 +0800 [rest] Add more hint message when commit failed because of NoSuchResourceException(#6456) --- paimon-core/src/main/java/org/apache/paimon/rest/RESTCatalog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paimon-core/src/main/java/org/apache/paimon/rest/RESTCatalog.java b/paimon-core/src/main/java/org/apache/paimon/rest/RESTCatalog.java index 9179e71aa9..09f4f5b5ed 100644 --- a/paimon-core/src/main/java/org/apache/paimon/rest/RESTCatalog.java +++ b/paimon-core/src/main/java/org/apache/paimon/rest/RESTCatalog.java @@ -354,7 +354,7 @@ public class RESTCatalog implements Catalog { try { return api.commitSnapshot(identifier, tableUuid, snapshot, statistics); } catch (NoSuchResourceException e) { - throw new TableNotExistException(identifier); + throw new TableNotExistException(identifier, e); } catch (ForbiddenException e) { throw new TableNoPermissionException(identifier, e); } catch (BadRequestException e) {
