You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "PCloud63514 (via GitHub)" <gi...@apache.org> on 2025/08/29 13:21:25 UTC

[PR] [#8343] fix: correct invalid exception handling in GroupDetails [gravitino]

PCloud63514 opened a new pull request, #8362:
URL: https://github.com/apache/gravitino/pull/8362

   ### What changes were proposed in this pull request?
   - In GroupDetails.java, updated the catch clause to handle the correct exception:
     - Changed from NoSuchUserException → NoSuchGroupException.
   
   ### Why are the changes needed?
   - GroupDetails is currently catching NoSuchUserException by mistake, when it should be handling NoSuchGroupException.
   
   Fix: #8343 
   
   ### Does this PR introduce _any_ user-facing change?
   - No.
   - This change only corrects internal exception handling logic, with no modification to public APIs or user-visible behavior.
   
   ### How was this patch tested?
   - No new tests added, since this only fixes the caught exception type.
   
   


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8343] fix: correct invalid exception handling in GroupDetails [gravitino]

Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean merged PR #8362:
URL: https://github.com/apache/gravitino/pull/8362


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org