File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/agent-client-protocol/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,8 @@ where
175175 log:: trace!( "send: {}" , String :: from_utf8_lossy( & outgoing_line) ) ;
176176 outgoing_line. push( b'\n' ) ;
177177 if let Err ( e) = outgoing_bytes. write_all( & outgoing_line) . await {
178- log:: warn!( "failed to send message to peer: {e}" ) ;
178+ log:: error!( "failed to send message to peer: {e}" ) ;
179+ break ;
179180 }
180181 broadcast. outgoing( & message) ;
181182 } else {
@@ -211,7 +212,8 @@ where
211212 log:: trace!( "send: {}" , String :: from_utf8_lossy( & outgoing_line) ) ;
212213 outgoing_line. push( b'\n' ) ;
213214 if let Err ( e) = outgoing_bytes. write_all( & outgoing_line) . await {
214- log:: warn!( "failed to send error response to peer: {e}" ) ;
215+ log:: error!( "failed to send error response to peer: {e}" ) ;
216+ break ;
215217 }
216218 broadcast. outgoing( & error_response) ;
217219 }
You can’t perform that action at this time.
0 commit comments