icloud: properly report errors (#17249)
This commit is contained in:
parent
8cd97d57f9
commit
0e26bea0b2
|
@ -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");
|
RARCH_DBG("[iCloud] could not find %s (%s)\n", path, error == nil ? "successfully" : "failure");
|
||||||
if (error)
|
if (error)
|
||||||
RARCH_DBG("[iCloud] error: %s\n", [[error debugDescription] UTF8String]);
|
RARCH_DBG("[iCloud] error: %s\n", [[error debugDescription] UTF8String]);
|
||||||
cb(nil, nil);
|
cb(nil, error);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue