Skip to content

Commit

Permalink
Fix ConvertExceptionToRuntimeException
Browse files Browse the repository at this point in the history
ConvertExceptionToRuntimeException need the exception, not the canceledException who is null
  • Loading branch information
jerousseau authored Sep 11, 2017
1 parent 18d09f2 commit 3dcd45f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net45/WampSharp/WAMP2/V2/Rpc/Callee/LocalRpcOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
}

0 comments on commit 3dcd45f

Please sign in to comment.