viewer#2653 Failure logging

master
Andrey Kleshchev 2024-10-25 00:10:35 +03:00 committed by Andrey Kleshchev
parent fa5aba2b67
commit 05858ee68b
1 changed files with 10 additions and 0 deletions

View File

@ -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 )