adjust oversized error message
This commit is contained in:
parent
a021eb5ff4
commit
9ffe211546
2 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ private[remote] class Encoder(
|
|||
throw e
|
||||
case _ if e.isInstanceOf[java.nio.BufferOverflowException] ⇒
|
||||
val reason = new OversizedPayloadException(s"Discarding oversized payload sent to ${send.recipient}: max allowed size ${envelope.byteBuffer.limit()} bytes. Message type [${send.message.getClass.getName}].")
|
||||
log.error(reason, "Transient association error (association remains live)")
|
||||
log.error(reason, "Failed to serialize oversized message [{}].", send.message.getClass.getName)
|
||||
pull(in)
|
||||
case _ ⇒
|
||||
log.error(e, "Failed to serialize message [{}].", send.message.getClass.getName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue