jverkoey/nimbus — Issue #104: Chameleon observer debug assertion
Author: jverkoey
Created: 2011-10-31 18:24:28+00:00
State: open
Labels: bug

On line 72 of NIChameleonObserver.m in the following context:

```obj-c
NSError* error = nil;
[fm removeItemAtPath:cachePath error:&error];
>> [fm copyItemAtPath:path toPath:cachePath error:&error];
NIDASSERT(nil == error);
```

Before the line marked with `>>` there needs to be an `error = nil;` statement to clear out the error from attempting to remove the file. It may also be sensible to only remove the file if it exists.