YuF-9468 opened a new pull request, #10225:
URL: https://github.com/apache/gravitino/pull/10225

   ## Summary
   Fixes #10224.
   
   `FilesetOperations#listFiles` previously handled exceptions with 
`OperationType.LOAD`, which is incorrect for a list-files endpoint. This PR 
switches it to `OperationType.LIST` so error handling semantics match the 
operation.
   
   ## Changes
   - In 
`server/src/main/java/org/apache/gravitino/server/web/rest/FilesetOperations.java`,
 changed the exception handling operation type in `listFiles(...)` from `LOAD` 
to `LIST`.
   
   ## Validation
   - Code change is minimal and scoped to exception mapping in one endpoint.
   - Could not run local Gradle tests in this environment because 
Java/JAVA_HOME is unavailable.
   


-- 
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]

Reply via email to