IOSAD-123 NSLog on error. IOSAD-123
authorDirk Zimmermann <dz@pep.security>
Tue, 23 Jul 2019 16:05:32 +0200
branchIOSAD-123
changeset 10944fb236082558
parent 1093 7ffd168f20bd
child 1095 e05c56cab4c5
IOSAD-123 NSLog on error.
pEpObjCAdapter/PEPInternalSession.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Tue Jul 23 16:05:32 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Tue Jul 23 16:05:32 2019 +0200
     1.3 @@ -662,6 +662,9 @@
     1.4  
     1.5      for (identity_list *_il = identList; _il && _il->ident; _il = _il->next) {
     1.6          PEP_STATUS status = update_identity(_session, _il->ident);
     1.7 +        if (status != PEP_STATUS_OK) {
     1.8 +            NSLog(@"Could not update identity after key import, status: %d", status);
     1.9 +        }
    1.10      }
    1.11  
    1.12      NSArray *idents = PEP_arrayFromIdentityList(identList);