diff --git a/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h b/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h index 737ffd726ee2ec..059c5bf84321fd 100644 --- a/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h +++ b/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h @@ -23800,18 +23800,15 @@ class ReadDoorLockNumberOfCredentialsSupportedPerUser : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); CHIPDoorLock * cluster = [[CHIPDoorLock alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; - CHIP_ERROR __block err = CHIP_NO_ERROR; [cluster readAttributeNumberOfCredentialsSupportedPerUserWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.NumberOfCredentialsSupportedPerUser response %@", [value description]); - err = [CHIPError errorToCHIPErrorCode:error]; - if (error != nil) { - ChipLogError(chipTool, "DoorLock NumberOfCredentialsSupportedPerUser read Error: %s", chip::ErrorStr(err)); + LogNSError("DoorLock NumberOfCredentialsSupportedPerUser read Error", error); } - SetCommandExitStatus(err); + SetCommandExitStatus(error); }]; - return err; + return CHIP_NO_ERROR; } }; @@ -23843,8 +23840,7 @@ class SubscribeAttributeDoorLockNumberOfCredentialsSupportedPerUser : public Sub @"response %@", [value description]); if (error || !mWait) { - SetCommandExitStatus( - [CHIPError errorToCHIPErrorCode:error]); + SetCommandExitStatus(error); } }];