diff --git a/src/ios/Network/HCPJsonDownloader.m b/src/ios/Network/HCPJsonDownloader.m index f2403f80..a6fed837 100644 --- a/src/ios/Network/HCPJsonDownloader.m +++ b/src/ios/Network/HCPJsonDownloader.m @@ -42,7 +42,8 @@ - (id)downloadSync:(NSError **)error { *error = nil; NSData *data = [NSData dataWithContentsOfURL:self.url]; if (data == nil) { - *error = [NSError errorWithCode:0 description:@"Failed to download config file from the given url"]; + NSString *message = [NSString stringWithFormat:@"Failed to download config file from: %@", self.url]; + *error = [NSError errorWithCode:0 description:message]; return nil; }