Commit 6b54e8fe authored by Kamal Marhubi's avatar Kamal Marhubi

Make JSON parsing error messages more uniform

parent 953807bc
......@@ -520,7 +520,7 @@ public:
void consume(char expected) {
char current = nextChar();
KJ_REQUIRE(current == expected, "Unexpected character in JSON message.");
KJ_REQUIRE(current == expected, "Unexpected input in JSON message.");
advance();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment