Placefile icon render error logging

This commit is contained in:
Dan Paulat 2023-09-02 00:59:25 -05:00
parent 00c297094e
commit 922e875b07

View file

@ -499,11 +499,9 @@ void PlacefileIcons::Impl::UpdateTextureBuffer()
auto it = currentIconFiles_.find(di->fileNumber_);
if (it == currentIconFiles_.cend())
{
// No file found
logger_->trace("Could not find file number: {}", di->fileNumber_);
// Should not get here, but insert empty data to match up with data
// already buffered
// No file found. Should not get here, but insert empty data to match
// up with data already buffered
logger_->error("Could not find file number: {}", di->fileNumber_);
// clang-format off
textureBuffer_.insert(