We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've been dealing with an invisible error in this code
RLMRealm *realm = [RLMRealm defaultRealm]; [realm beginWriteTransaction]; [self createOrUpdateInRealm:realm withJSONDictionary:serverResponse]; [realm commitWriteTransaction];
until i used try/catch for receive the "Invalid value" exception like this:
RLMRealm *realm = [RLMRealm defaultRealm]; [realm beginWriteTransaction]; @try { [self createOrUpdateInRealm:realm withJSONDictionary:serverResponse]; } @catch(NSException *exception) { NSLog(@"Couldn't import due to exception: %@", exception.description); } @finally { [realm commitWriteTransaction]; }
Maybe it has been due to, for some reason, that during testing some RLMExceptions do not raise, i don't know, but i'll asume this as a best practice.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've been dealing with an invisible error in this code
until i used try/catch for receive the "Invalid value" exception like this:
Maybe it has been due to, for some reason, that during testing some RLMExceptions do not raise, i don't know, but i'll asume this as a best practice.
The text was updated successfully, but these errors were encountered: