yiguolei commented on code in PR #50939:
URL: https://github.com/apache/doris/pull/50939#discussion_r2094292276


##########
fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/DorisFlightSqlProducer.java:
##########
@@ -288,8 +290,14 @@ private FlightInfo executeQueryStatement(String 
peerIdentity, ConnectContext con
     @Override
     public FlightInfo getFlightInfoStatement(final CommandStatementQuery 
request, final CallContext context,
             final FlightDescriptor descriptor) {
-        ConnectContext connectContext = 
flightSessionsManager.getConnectContext(context.peerIdentity());
-        return executeQueryStatement(context.peerIdentity(), connectContext, 
request.getQuery(), descriptor);
+        try {
+            ConnectContext connectContext = 
flightSessionsManager.getConnectContext(context.peerIdentity());
+            return executeQueryStatement(context.peerIdentity(), 
connectContext, request.getQuery(), descriptor);
+        } catch (Exception e) {

Review Comment:
   catch Throwable



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to