Remove period at the end of the exception message

This commit is contained in:
John Ericson 2020-07-20 17:43:19 +00:00
parent bf61871271
commit c58c6165c5

View File

@ -177,7 +177,7 @@ Hash Hash::parseAnyPrefixed(std::string_view original)
// Either the string or user must provide the type, if they both do they
// must agree.
if (!optParsedType)
throw BadHash("hash '%s' does not include a type.", rest);
throw BadHash("hash '%s' does not include a type", rest);
return Hash(rest, *optParsedType, isSRI);
}