From 922e875b075967ed5ac690d8431ff837c71c6a71 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sat, 2 Sep 2023 00:59:25 -0500 Subject: [PATCH] Placefile icon render error logging --- scwx-qt/source/scwx/qt/gl/draw/placefile_icons.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scwx-qt/source/scwx/qt/gl/draw/placefile_icons.cpp b/scwx-qt/source/scwx/qt/gl/draw/placefile_icons.cpp index 1a74f4e6..fce5495d 100644 --- a/scwx-qt/source/scwx/qt/gl/draw/placefile_icons.cpp +++ b/scwx-qt/source/scwx/qt/gl/draw/placefile_icons.cpp @@ -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(