I think we can make this cleaner if you refactor this method to be...

```
+ (NSDictionary *)commonOCUnitEventInfoFromTestableExecutionInfo:(TestableExecutionInfo *)testableExecutionInfo
                                garbageCollectionEnabled:(NSNumber *)garbageCollectionEnabled
```

...  and add the relevant plumbing.

If you do that, you can do something like...

```
if (testableExecutionInfo.buildSettingsError != nil) {
  // add all the usual fields.
} else {
  // just set target name
}
```