justinmclean opened a new issue, #7221:
URL: https://github.com/apache/gravitino/issues/7221

   ### What would you like to be improved?
   
   Several files catch Throwable when they should be catching Exception. 
Catching either Throwable or Error will also catch OutOfMemoryError and 
InternalError, which was probably not intended.
   
   Files include:
   core/src/main/java/org/apache/gravitino/catalog/OperationDispatcher.java
   
core/src/main/java/org/apache/gravitino/storage/relational/utils/SessionUtils.java
   
flink-connector/flink/src/main/java/org/apache/gravitino/flink/connector/store/GravitinoCatalogStore.java
   
trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/GravitinoConnectorPluginManager.java
   
   
   ### How should we improve?
   
   Change Throwable to Exception where it makes sense.


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