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

Commit

Permalink
say what config url we are trying
Browse files Browse the repository at this point in the history
  • Loading branch information
ptarjan committed Oct 15, 2015
1 parent 9a313e9 commit 4dfbffe
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 4dfbffe

Please sign in to comment.