This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 21664e2105 [rest] Add more hint message when commit failed because of 
NoSuchResourceException(#6456)
21664e2105 is described below

commit 21664e2105ab0d945bfa635d3afd2e96249a17b4
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 58df61e659..85aa31031b 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) {

Reply via email to