From 3e82b0930899714b12f88ce4acd4b242b311dcc4 Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 14 Nov 2016 16:21:08 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/WebSocketException.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/websocket-sharp/WebSocketException.cs b/websocket-sharp/WebSocketException.cs index 3380eaab..f5d483f7 100644 --- a/websocket-sharp/WebSocketException.cs +++ b/websocket-sharp/WebSocketException.cs @@ -78,7 +78,9 @@ namespace WebSocketSharp { } - internal WebSocketException (CloseStatusCode code, string message, Exception innerException) + internal WebSocketException ( + CloseStatusCode code, string message, Exception innerException + ) : base (message ?? code.GetMessage (), innerException) { _code = code;