Core/BGs: Fix a TC_LOG_ERROR call