Skip to content

Commit

Permalink
Remove unneeded error forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
gjcairo committed Dec 6, 2024
1 parent 2127ad6 commit 45b0d80
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ package final class ServerConnectionManagementHandler: ChannelDuplexHandler {

package func errorCaught(context: ChannelHandlerContext, error: any Error) {
if self.closeConnectionOnError(error) {
context.fireErrorCaught(error)
context.close(mode: .all, promise: nil)
}
}
Expand Down

0 comments on commit 45b0d80

Please sign in to comment.