diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-10-25 00:10:35 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-10-25 13:53:26 +0300 |
commit | 05858ee68bc9bc3fd04c5f593c37f21b1c68a7ac (patch) | |
tree | 18d0020d607b3bd9b147bfa47b75a55b7df162a7 | |
parent | fa5aba2b67a029c7415c48270c8c84cd35e73a24 (diff) |
viewer#2653 Failure logging
-rw-r--r-- | indra/newview/llpreviewtexture.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp index 1b657d9ea1..800fc7ec0c 100644 --- a/indra/newview/llpreviewtexture.cpp +++ b/indra/newview/llpreviewtexture.cpp @@ -441,6 +441,16 @@ void LLPreviewTexture::onFileLoadedForSave(bool success, self->getWindow()->decBusyCount(); self->mLoadingFullImage = false; } + if (!success) + { + LL_WARNS("FileSaveAs") << "Failed to download file " << *item_uuid << " for saving." + << " Is missing: " << (src_vi->isMissingAsset() ? "true" : "false") + << " Discard: " << src_vi->getDiscardLevel() + << " Raw discard: " << discard_level + << " Size: " << src_vi->getWidth() << "x" << src_vi->getHeight() + << " Has GL texture: " << (src_vi->hasGLTexture() ? "true" : "false") + << " Has saved raw image: " << (src_vi->hasSavedRawImage() ? "true" : "false") << LL_ENDL; + } } if( self && final && success ) |