Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
Fixed bug with exception deserialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
DJGosnell committed Oct 4, 2016
1 parent 42d8b9a commit c6cac1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DtronixMessageQueue/Rpc/RpcProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public override IMessage Invoke(IMessage msg) {
case RpcCallMessageType.MethodException:

// Deserialize the exception and let the local method call receive it.
var return_exception = serializer.DeserializeFromReader(method_info.ReturnType, 0);
var return_exception = serializer.DeserializeFromReader(typeof(RpcRemoteExceptionDataContract), 0);
return new ReturnMessage(new RpcRemoteException((RpcRemoteExceptionDataContract)return_exception), method_call);

default:
Expand Down

0 comments on commit c6cac1c

Please sign in to comment.