I misunderstood the purpose of NSError's localized descriptions. I'll
change all of these messages.

How do you want to do logging? Just NSLog?



From:	Mike Rhodes <notifications@github.com>
To:	cloudant/CDTDatastore <CDTDatastore@noreply.github.com>
Cc:	Adam Cox <gadamc@cloudant.com>
Date:	05/29/2014 03:25
Subject:	Re: [CDTDatastore] Adds support for filtered pull replication.
            (#23)



In Classes/common/CDTReplicator/CDTReplicatorFactory.m:


>      CDTReplicator *replicator = [[CDTReplicator alloc]
initWithReplicatorDatastore:datastore
>
replicationDocumentBody:body];
> -
> +
> +    if (replicator == nil) {
> +        if (error) {
> +            NSDictionary *userInfo =
> +            @{NSLocalizedDescriptionKey: NSLocalizedString(@"Unable to
create CDTReplicator.", nil)};



Again, these are all log messages rather than suitable for presentation to
a user.


—
Reply to this email directly or view it on GitHub.