diff options
author | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-01-09 23:16:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 23:16:57 +0200 |
commit | 305fe845c6058177c84c7f8d49c3faedec2e8282 (patch) | |
tree | 66d94a4d09201cbe80a4d525da460269b68fa1cb /indra/newview/llpanelprofile.cpp | |
parent | afe91b7eb68da65687beef451bd094ff0091b717 (diff) |
SL-20779 More reliable decode and encode error logging (#615)
Diffstat (limited to 'indra/newview/llpanelprofile.cpp')
-rw-r--r-- | indra/newview/llpanelprofile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index 55ddeed4ec..67c942b267 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -1369,7 +1369,7 @@ void LLProfileImagePicker::notify(const std::vector<std::string>& filenames) if (!LLViewerTextureList::createUploadFile(file_path, temp_file, codec, MAX_DIM)) { LLSD notif_args; - notif_args["REASON"] = LLImage::getLastError().c_str(); + notif_args["REASON"] = LLImage::getLastThreadError().c_str(); LLNotificationsUtil::add("CannotUploadTexture", notif_args); LL_WARNS("AvatarProperties") << "Failed to upload profile image of type " << (S32)mType << ", " << notif_args["REASON"].asString() << LL_ENDL; return; |