Turning off stacktraces for ConnectException, to cut down the noise in the logs
This commit is contained in:
parent
3cd9cca74a
commit
5fff91f482
1 changed files with 2 additions and 2 deletions
|
|
@ -339,8 +339,8 @@ class NettyTransport(private val settings: NettyTransportSettings, private val s
|
|||
case NonFatal(e) ⇒
|
||||
Future.failed(e)
|
||||
}) onFailure {
|
||||
case t: ConnectException ⇒ statusPromise failure new NettyTransportException(t.getMessage, t.getCause)
|
||||
case t ⇒ statusPromise failure t
|
||||
case t: ConnectException ⇒ statusPromise failure new NettyTransportException(t.getMessage, t.getCause) with NoStackTrace
|
||||
case t ⇒ statusPromise failure t
|
||||
}
|
||||
|
||||
statusPromise.future
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue