a805814077 opened a new pull request, #8222: URL: https://github.com/apache/gravitino/pull/8222
### What changes were proposed in this pull request? Updated the post hook behavior when catalog creation fails. Now, if catalog creation encounters an error, the failure is correctly propagated as an exception instead of returning success. Fix: https://github.com/apache/gravitino/issues/8219 ### Why are the changes needed? Previously, when a catalog creation error occurred, the partially created catalog was deleted, but the API still returned success. This led to inconsistent and misleading results for users. The fix ensures that the failure is explicitly reported, providing accurate feedback. Fix: https://github.com/apache/gravitino/issues/8219 ### Does this PR introduce _any_ user-facing change? No. Users will only see more accurate error reporting when catalog creation fails, without any change to existing success cases. ### How was this patch tested? Built and tested locally. -- 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]
