File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ internal static string CheckIfAvailable (
201201 return ( ! ready && ( state == ServerState . Ready || state == ServerState . Stop ) ) ||
202202 ( ! start && state == ServerState . Start ) ||
203203 ( ! shutting && state == ServerState . ShuttingDown )
204- ? "This operation isn't available in: " + state
204+ ? "This operation isn't available in: " + state . ToString ( ) . ToLower ( )
205205 : null ;
206206 }
207207
@@ -212,7 +212,7 @@ internal static string CheckIfAvailable (
212212 ( ! open && state == WebSocketState . Open ) ||
213213 ( ! closing && state == WebSocketState . Closing ) ||
214214 ( ! closed && state == WebSocketState . Closed )
215- ? "This operation isn't available in: " + state
215+ ? "This operation isn't available in: " + state . ToString ( ) . ToLower ( )
216216 : null ;
217217 }
218218
You can’t perform that action at this time.
0 commit comments