aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterreporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterreporter.cpp')
-rw-r--r--linden/indra/newview/llfloaterreporter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterreporter.cpp b/linden/indra/newview/llfloaterreporter.cpp
index 3a9829d..78f5623 100644
--- a/linden/indra/newview/llfloaterreporter.cpp
+++ b/linden/indra/newview/llfloaterreporter.cpp
@@ -937,11 +937,12 @@ void LLFloaterReporter::uploadDoneCallback(const LLUUID &uuid, void *user_data,
937 if(result < 0) 937 if(result < 0)
938 { 938 {
939 LLStringUtil::format_map_t args; 939 LLStringUtil::format_map_t args;
940 args["[REASON]"] = std::string(LLAssetStorage::getErrorString(result)); 940 std::string reason = std::string(LLAssetStorage::getErrorString(result));
941 args["[REASON]"] = reason;
941 gViewerWindow->alertXml("ErrorUploadingReportScreenshot", args); 942 gViewerWindow->alertXml("ErrorUploadingReportScreenshot", args);
942 943
943 std::string err_msg("There was a problem uploading a report screenshot"); 944 std::string err_msg("There was a problem uploading a report screenshot");
944 err_msg += " due to the following reason: " + args["[REASON]"]; 945 err_msg += " due to the following reason: " + reason;
945 llwarns << err_msg << llendl; 946 llwarns << err_msg << llendl;
946 return; 947 return;
947 } 948 }