Added error message

This commit is contained in:
tastytea 2018-03-07 08:11:47 +01:00
parent 1142f6749a
commit 010137c0e3
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ const bool read_config(rapidjson::Document &document)
if (document.Parse(json.str().c_str()).HasParseError())
{
cerr << "ERROR: couldn't parse config file. Are you sure the JSON is well-formed?\n";
return false;
}