icloud: properly report errors (#17249)

This commit is contained in:
Eric Warmenhoven 2024-12-12 01:54:53 -05:00 committed by GitHub
parent 8cd97d57f9
commit 0e26bea0b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ static void icloud_query_path(const char *path, void(^cb)(CKRecord * results, NS
RARCH_DBG("[iCloud] could not find %s (%s)\n", path, error == nil ? "successfully" : "failure");
if (error)
RARCH_DBG("[iCloud] error: %s\n", [[error debugDescription] UTF8String]);
cb(nil, nil);
cb(nil, error);
}
else
{