Skip to content

Commit

Permalink
Fix topic deserialization exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragemil committed Sep 5, 2023
1 parent b0bb681 commit 411208c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publisher/src/LeanPipe/LeanPipeSubscriber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down

0 comments on commit 411208c

Please sign in to comment.