bump some "debug" messages to "warning" status

This commit is contained in:
Andrew Meadows 2017-06-29 10:20:47 -07:00
parent 39e5259e03
commit a0c6c49360

View file

@ -188,7 +188,7 @@ bool EntityTree::updateEntity(EntityItemPointer entity, const EntityItemProperti
bool success; bool success;
AACube queryCube = entity->getQueryAACube(success); AACube queryCube = entity->getQueryAACube(success);
if (!success) { if (!success) {
qCDebug(entities) << "Warning -- failed to get query-cube for" << entity->getID(); qCWarning(entities) << "failed to get query-cube for" << entity->getID();
} }
UpdateEntityOperator theOperator(getThisPointer(), containingElement, entity, queryCube); UpdateEntityOperator theOperator(getThisPointer(), containingElement, entity, queryCube);
recurseTreeWithOperator(&theOperator); recurseTreeWithOperator(&theOperator);
@ -1512,7 +1512,7 @@ void EntityTree::addEntityMapEntry(EntityItemPointer entity) {
QWriteLocker locker(&_entityMapLock); QWriteLocker locker(&_entityMapLock);
EntityItemPointer otherEntity = _entityMap.value(id); EntityItemPointer otherEntity = _entityMap.value(id);
if (otherEntity) { if (otherEntity) {
qCDebug(entities) << "EntityTree::addEntityMapEntry() found pre-existing id " << id; qCWarning(entities) << "EntityTree::addEntityMapEntry() found pre-existing id " << id;
assert(false); assert(false);
return; return;
} }