From 4dfbffe40aff7faa53b06b4e293ef1f71a2c94e8 Mon Sep 17 00:00:00 2001 From: ptarjan Date: Thu, 15 Oct 2015 13:40:37 -0700 Subject: [PATCH] say what config url we are trying --- src/ios/Network/HCPJsonDownloader.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }