Explorar o código

Fixed error message in json::decode()

Tatsuhiro Tsujikawa %!s(int64=14) %!d(string=hai) anos
pai
achega
bc7ac15d7e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/json.cc

+ 1 - 1
src/json.cc

@@ -454,7 +454,7 @@ decode
     return decodeNull(first, last);
   } else {
     throw DL_ABORT_EX2("JSON decoding failed:"
-                       " Unexpected EOF in term context.",
+                       " Unexpected character in term context.",
                        error_code::JSON_PARSE_ERROR);
   }
 }