Adding NoStackTrace to EndpointException to save a couple of meters of log output.
This commit is contained in:
parent
392e6845f4
commit
85f80467f4
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ import akka.remote.transport.AssociationHandle._
|
|||
import akka.remote.transport.{ AkkaPduCodec, Transport, AssociationHandle }
|
||||
import akka.serialization.Serialization
|
||||
import akka.util.ByteString
|
||||
import scala.util.control.NonFatal
|
||||
import util.control.{ NoStackTrace, NonFatal }
|
||||
|
||||
/**
|
||||
* Internal API
|
||||
|
|
@ -106,7 +106,7 @@ private[remote] object EndpointWriter {
|
|||
case object Writing extends State
|
||||
}
|
||||
|
||||
private[remote] class EndpointException(msg: String, cause: Throwable) extends AkkaException(msg, cause) {
|
||||
private[remote] class EndpointException(msg: String, cause: Throwable) extends AkkaException(msg, cause) with NoStackTrace {
|
||||
def this(msg: String) = this(msg, null)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue