diff --git a/publisher/src/LeanPipe/LeanPipeSubscriber.cs b/publisher/src/LeanPipe/LeanPipeSubscriber.cs index 9e4443e..7f0d314 100644 --- a/publisher/src/LeanPipe/LeanPipeSubscriber.cs +++ b/publisher/src/LeanPipe/LeanPipeSubscriber.cs @@ -80,7 +80,7 @@ private async Task ExecuteAsync(SubscriptionEnvelope envelope, OperationType typ { await NotifyResultAsync(envelope.Id, SubscriptionStatus.Malformed, type); throw new InvalidOperationException( - $"Cannot deserialize topic {envelope.Topic} of type {envelope.TopicType}.", + $"Cannot deserialize topic {envelope.Topic.RootElement.GetRawText()} of type {envelope.TopicType}.", e ); }