mirror of https://github.com/aria2/aria2
Fixed error message in json::decode()
parent
7338a25035
commit
bc7ac15d7e
|
@ -454,7 +454,7 @@ decode
|
||||||
return decodeNull(first, last);
|
return decodeNull(first, last);
|
||||||
} else {
|
} else {
|
||||||
throw DL_ABORT_EX2("JSON decoding failed:"
|
throw DL_ABORT_EX2("JSON decoding failed:"
|
||||||
" Unexpected EOF in term context.",
|
" Unexpected character in term context.",
|
||||||
error_code::JSON_PARSE_ERROR);
|
error_code::JSON_PARSE_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue