Skip to content

Commit a42a15f

Browse files
committed
Exception string should end with full stop.
1 parent dfd9700 commit a42a15f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dasher/MsgPack/Unpacker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ public bool TryReadString(out string value, Encoding encoding)
781781
if (length != null)
782782
{
783783
if (length > int.MaxValue)
784-
throw new Exception("String length is too long to read");
784+
throw new Exception("String length is too long to read.");
785785

786786
_nextByte = -1;
787787
var bytes = new byte[(int)length];

0 commit comments

Comments
 (0)