Skip to content

Commit

Permalink
Exception string should end with full stop.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewnoakes committed Jul 12, 2016
1 parent dfd9700 commit a42a15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dasher/MsgPack/Unpacker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ public bool TryReadString(out string value, Encoding encoding)
if (length != null)
{
if (length > int.MaxValue)
throw new Exception("String length is too long to read");
throw new Exception("String length is too long to read.");

_nextByte = -1;
var bytes = new byte[(int)length];
Expand Down

0 comments on commit a42a15f

Please sign in to comment.