Merge branch 'charlesmchen/deserializationLogs'
This commit is contained in:
commit
0c01bfca98
@ -462,7 +462,7 @@ NSString *const kNSUserDefaults_DatabaseExtensionVersionMap = @"kNSUserDefaults_
|
||||
return [unarchiver decodeObjectForKey:@"root"];
|
||||
} @catch (NSException *exception) {
|
||||
// Sync log in case we bail.
|
||||
OWSProdLogAndFail(@"%@ error deserializing object: %@", self.logTag, collection);
|
||||
OWSProdLogAndFail(@"%@ error deserializing object: %@, %@", self.logTag, collection, exception);
|
||||
OWSProdCritical([OWSAnalyticsEvents storageErrorDeserialization]);
|
||||
@throw exception;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user