aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/RpcException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/csharp/Grpc.Core/RpcException.cs')
-rw-r--r--src/csharp/Grpc.Core/RpcException.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core/RpcException.cs b/src/csharp/Grpc.Core/RpcException.cs
index 433d87215e..c58578286b 100644
--- a/src/csharp/Grpc.Core/RpcException.cs
+++ b/src/csharp/Grpc.Core/RpcException.cs
@@ -42,7 +42,7 @@ namespace Grpc.Core
{
private readonly Status status;
- public RpcException(Status status)
+ public RpcException(Status status) : base(status.ToString())
{
this.status = status;
}