@@ -659,11 +659,11 @@ public void setSessionOptions(final SetSessionOptionsRequest request, final Call
659659 listener .onCompleted ();
660660 } catch (FlightRuntimeException e ) {
661661 // Same as in getFlightInfoStatement: keep the status the session's command lock chose.
662- LOG .error ("set session options failed" , e );
662+ LOG .warn ("set session options failed" , e );
663663 listener .onError (e );
664664 } catch (Throwable e ) {
665665 String errMsg = "set session options failed, " + e .getMessage ();
666- LOG .error (errMsg , e );
666+ LOG .warn (errMsg , e );
667667 listener .onError (CallStatus .INTERNAL .withDescription (errMsg ).withCause (e ).toRuntimeException ());
668668 }
669669 }
@@ -679,11 +679,11 @@ public void getSessionOptions(final GetSessionOptionsRequest request, final Call
679679 listener .onNext (new GetSessionOptionsResult (options ));
680680 listener .onCompleted ();
681681 } catch (FlightRuntimeException e ) {
682- LOG .error ("get session options failed" , e );
682+ LOG .warn ("get session options failed" , e );
683683 listener .onError (e );
684684 } catch (Throwable e ) {
685685 String errMsg = "get session options failed, " + e .getMessage ();
686- LOG .error (errMsg , e );
686+ LOG .warn (errMsg , e );
687687 listener .onError (CallStatus .INTERNAL .withDescription (errMsg ).withCause (e ).toRuntimeException ());
688688 }
689689 }
@@ -700,7 +700,7 @@ public void closeSession(CloseSessionRequest request, final CallContext context,
700700 try {
701701 flightSessionsManager .closeConnectContext (context .peerIdentity ());
702702 } catch (final Throwable e ) {
703- LOG .error ("closeSession failed" , e );
703+ LOG .warn ("closeSession failed" , e );
704704 listener .onError (
705705 CallStatus .INTERNAL .withDescription ("closeSession failed" ).withCause (e ).toRuntimeException ());
706706 return ;
0 commit comments