Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TcpServerBinder
logs "Failed to create a connection" twice (apple#3113
) Motivation: `TcpServerBinder` uses `beforeOnError` to log any failures to create a connection (to capture connection info) and then it goes to `SimpleSingleSubscriber` that logs it again. Modifications: - Use new `Single.subscribe(...)` overload that takes `errorConsumer` to log "Failed to create a connection"; - Log full `Channel` info instead of just remote address to keep consistent patter of starting all network-level logs with channel id; Result: Exception is logged only once.
- Loading branch information