From 0e26bea0b2abffd05172c509db14eeba23b514f5 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Thu, 12 Dec 2024 01:54:53 -0500 Subject: [PATCH] icloud: properly report errors (#17249) --- network/cloud_sync/icloud.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/cloud_sync/icloud.m b/network/cloud_sync/icloud.m index 86f605af01..37cb50fc33 100644 --- a/network/cloud_sync/icloud.m +++ b/network/cloud_sync/icloud.m @@ -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 {