Skip to content

Commit

Permalink
When granting access to node log URL and error only if error not nil
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerg Jacobsen committed Jun 24, 2015
1 parent 555b37f commit 368a266
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion IMBAccessRightsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,9 @@ + (void) grantAccessRightsForFolder:(IMBParserMessenger*)inFolderParserMessenger

^(NSURL* inReceivedURL,NSError* inError)
{
NSLog(@"%s url=%@ error=%@",__FUNCTION__,inReceivedURL,inError);
if (inError) {
NSLog(@"%s url=%@ error=%@",__FUNCTION__,inReceivedURL,inError);
}
completionHandler();
[completionHandler release];
});
Expand Down

0 comments on commit 368a266

Please sign in to comment.