Achievements: Crash fix on error

This commit is contained in:
Connor McLaughlin 2022-07-23 00:51:52 +10:00
parent 68121c0f6b
commit 78bddd7fe9

View file

@ -218,7 +218,7 @@ public:
{
if (status_code != Common::HTTPDownloader::HTTP_OK || data.empty())
{
FormattedError("%s failed: empty response and/or status code %d (%s)", RAPIStructName<T>(), status_code);
FormattedError("%s failed: empty response and/or status code %d", RAPIStructName<T>(), status_code);
LogFailedResponseJSON(data);
return;
}