Bot is now basically functional

Big tidy up, new question source.
This commit is contained in:
2016-07-10 01:18:13 +01:00
parent 5168a38702
commit b31eaef6d6
28 changed files with 1510 additions and 16988 deletions

View File

@ -3650,7 +3650,15 @@ class basic_json
const auto it = find(key);
if (it != end())
{
return *it;
try
{
return *it;
}
catch (...)
{
// if some kind of exception occurred, return default value
return default_value;
}
}
else
{