= #23749 Fixes logging when serialization is not defined on NotSerializableException (#23750)

This commit is contained in:
novacekm 2017-09-29 04:09:57 +02:00 committed by Konrad `ktoso` Malawski
parent 26e0a4f00b
commit 96ffced4dc

View file

@ -811,7 +811,7 @@ private[remote] class EndpointWriter(
}
} catch {
case e: NotSerializableException
log.error(e, "Serializer not defined for message type []. Transient association error (association remains live)", s.message.getClass)
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)