Skip to content

Commit

Permalink
Update src/darwin/Framework/CHIP/MTRDeviceControllerLocalTestStorage.mm
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
  • Loading branch information
woody-apple and bzbarsky-apple authored May 22, 2024
1 parent fe07d4d commit becfdc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ - (BOOL)controller:(MTRDeviceController *)controller
NSError * error = nil;
NSData * data = [NSKeyedArchiver archivedDataWithRootObject:value requiringSecureCoding:YES error:&error];
if (error) {
MTR_LOG("MTRDeviceControllerLocalTestStorage storeValue: failed to convert value object to data %@", error);
MTR_LOG_ERROR("MTRDeviceControllerLocalTestStorage storeValue: failed to convert value object to data %@", error);
return NO;
}
NSUserDefaults * defaults = [[NSUserDefaults alloc] initWithSuiteName:kLocalTestUserDefaultDomain];
Expand Down

0 comments on commit becfdc6

Please sign in to comment.