[Modify] Polish it
This commit is contained in:
parent
a22d5a9521
commit
26e9edddf2
@ -1144,7 +1144,7 @@ namespace WebSocketSharp.Net
|
|||||||
var idx = header.IndexOf (':');
|
var idx = header.IndexOf (':');
|
||||||
|
|
||||||
if (idx == -1) {
|
if (idx == -1) {
|
||||||
var msg = "No colon could be found.";
|
var msg = "It does not contain a colon character.";
|
||||||
|
|
||||||
throw new ArgumentException (msg, "header");
|
throw new ArgumentException (msg, "header");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user