Every time this routine is called, it may print the LogError. That wasn't the intent of the code. I'd instead make this a 
```
static std::atomic<bool> iFailedAlready{ false };
```