Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

say what config url we are trying #29

Merged
merged 1 commit into from
Oct 19, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/ios/Network/HCPJsonDownloader.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down