From 3dcd45fdf4101a2d087e58ec96febb784e8172ca Mon Sep 17 00:00:00 2001 From: jerousseau Date: Mon, 11 Sep 2017 14:50:19 +0200 Subject: [PATCH] Fix ConvertExceptionToRuntimeException ConvertExceptionToRuntimeException need the exception, not the canceledException who is null --- src/net45/WampSharp/WAMP2/V2/Rpc/Callee/LocalRpcOperation.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net45/WampSharp/WAMP2/V2/Rpc/Callee/LocalRpcOperation.cs b/src/net45/WampSharp/WAMP2/V2/Rpc/Callee/LocalRpcOperation.cs index a9cb91853..0c158e522 100644 --- a/src/net45/WampSharp/WAMP2/V2/Rpc/Callee/LocalRpcOperation.cs +++ b/src/net45/WampSharp/WAMP2/V2/Rpc/Callee/LocalRpcOperation.cs @@ -157,7 +157,7 @@ protected static WampException ConvertExceptionToRuntimeException(Exception exce } // TODO: Maybe try a different implementation. - return new WampRpcRuntimeException(canceledException.Message); + return new WampRpcRuntimeException(exception.Message); } } -} \ No newline at end of file +}