diff --git a/src/ios/Network/HCPFileDownloader.m b/src/ios/Network/HCPFileDownloader.m index 7d6db002..24801d46 100644 --- a/src/ios/Network/HCPFileDownloader.m +++ b/src/ios/Network/HCPFileDownloader.m @@ -78,7 +78,8 @@ - (BOOL)executeFileDownloadFromURL:(NSURL *)url saveToFile:(NSURL *)fileURL chec *error = nil; NSData *downloadedContent = [NSData dataWithContentsOfURL:url]; if (downloadedContent == nil) { - *error = [NSError errorWithCode:0 description:@"Failed to load file"]; + NSString *message = [NSString stringWithFormat:@"Failed to load file: %@", url]; + *error = [NSError errorWithCode:0 description:message]; return NO; }