treat serialization (toBinary) exception of remote message as transient error, #21343
This commit is contained in:
parent
ee116dcdab
commit
fa084fc5ce
2 changed files with 27 additions and 12 deletions
|
|
@ -803,7 +803,10 @@ private[remote] class EndpointWriter(
|
|||
}
|
||||
} catch {
|
||||
case e: NotSerializableException ⇒
|
||||
log.error(e, "Transient association error (association remains live)")
|
||||
log.error(e, "Serializer not defined for message type []. Transient association error (association remains live)", s.message.getClass)
|
||||
true
|
||||
case e: MessageSerializer.SerializationException ⇒
|
||||
log.error(e, "{} Transient association error (association remains live)", e.getMessage)
|
||||
true
|
||||
case e: EndpointException ⇒
|
||||
publishAndThrow(e, Logging.ErrorLevel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue