Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't crash when populating NewExtra.
When populating NewExtra, we iterate over attributes and inspect their NewExtra property. In the case of null attributes, this results in a crash, as we're dereferencing a nil pointer. I'm still not clear on why this is happening, where it's coming from, or what it means. The current understanding is it has something to do with usage of CustomizeDiff. I'm not sure why yet. But this commit at least surfaces which attribute was null, by logging it, and prevents the crash, even if it doesn't resolve the problem.
- Loading branch information