Skip to content

Commit

Permalink
OPCFoundation#2055: Corrected exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
gailjkm committed Apr 26, 2023
1 parent 4253c70 commit df6bd0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryChannel.Symmetric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,8 @@ protected void ComputeKeys(ChannelToken token)
if (token.Expired)
{
throw ServiceResultException.Create(StatusCodes.BadTcpSecureChannelUnknown,
"Channel{0}: Token #{1} has expired. Lifetime={2:HH:mm:ss.fff}",
Id, token.TokenId, token.CreatedAt);
"Channel{0}: Token #{1} has expired. CreatedAt={2:HH:mm:ss.fff}. Lifetime={3}.",
Id, token.TokenId, token.CreatedAt, token.Lifetime);
}

int headerSize = decoder.Position;
Expand Down

0 comments on commit df6bd0f

Please sign in to comment.