Skip to content

Commit

Permalink
fix: remove explicit panic from rpc handshake on io error (#3341)
Browse files Browse the repository at this point in the history
Description
---
Remove mistaken explicit panic

Motivation and Context
---
Forgot to remove panic while developing

How Has This Been Tested?
---
N/A
  • Loading branch information
sdbondi committed Sep 14, 2021
1 parent 496ff14 commit c2ebfc8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion comms/src/protocol/rpc/handshake.rs
Expand Up @@ -148,7 +148,6 @@ where T: AsyncRead + AsyncWrite + Unpin
target: LOG_TARGET,
"IO error when sending new session handshake to peer: {}", err
);
panic!();
}
self.framed.flush().await?;
match self.recv_next_frame().await {
Expand Down

0 comments on commit c2ebfc8

Please sign in to comment.