From df6bd0f392a7b741e7c5af3333e21f50b05eeadf Mon Sep 17 00:00:00 2001 From: Johann Gail <122996478+gailjkm@users.noreply.github.com> Date: Wed, 26 Apr 2023 11:53:22 +0200 Subject: [PATCH] OPCFoundation#2055: Corrected exception message --- Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryChannel.Symmetric.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryChannel.Symmetric.cs b/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryChannel.Symmetric.cs index 83ece03a5..e24b640b8 100644 --- a/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryChannel.Symmetric.cs +++ b/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryChannel.Symmetric.cs @@ -535,8 +535,8 @@ protected ArraySegment ReadSymmetricMessage( 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;