Skip to content

Commit 47c95f2

Browse files
h5aaimtrongfoidl
andauthored
Update src/Http/Http/src/BindingAddress.cs
Adding additional help message. Co-authored-by: Günther Foidl <[email protected]>
1 parent 370e127 commit 47c95f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Http/src/BindingAddress.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public static BindingAddress Parse(string address)
220220
}
221221
else
222222
{
223-
throw new FormatException($"Invalid port: '{portString}'");
223+
throw new FormatException($"Invalid port: '{portString}, only numbers are allowed'");
224224
}
225225
}
226226

0 commit comments

Comments
 (0)