It was a series of errors which resulted in his murder and I can understand why but in the end she still murdered an innocent man. Race probably had nothing to do with it.
I agree; I think the same result would have ensued if the victim had been white. From my perspective her fault was in thinking she had an obligation to take down a person she thought was illegally in her apartment, when she ought to have backed off, assessed the situation, and called for assistance. At the very least she has no business being a cop.