mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-17 22:25:37 +00:00
Achievements: Crash fix on error
This commit is contained in:
parent
68121c0f6b
commit
78bddd7fe9
|
@ -218,7 +218,7 @@ public:
|
||||||
{
|
{
|
||||||
if (status_code != Common::HTTPDownloader::HTTP_OK || data.empty())
|
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);
|
LogFailedResponseJSON(data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue