summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterreporter.cpp
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2014-06-18 11:32:53 -0700
committerAura Linden <aura@lindenlab.com>2014-06-18 11:32:53 -0700
commita4d60d6721c62511ba7a26352e3b5d35cd0dbb94 (patch)
tree082fa1927273936fa07b9b500a7a3548833cbb6f /indra/newview/llfloaterreporter.cpp
parent4bcf2079f15a09d40f1d7aa61b2768cc54dc427a (diff)
parent977476171ddcc057d7c28b6c14ae988b8189ed75 (diff)
Pulled merge from release.
Diffstat (limited to 'indra/newview/llfloaterreporter.cpp')
-rwxr-xr-xindra/newview/llfloaterreporter.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/indra/newview/llfloaterreporter.cpp b/indra/newview/llfloaterreporter.cpp
index 825159703c..a3b9713e3e 100755
--- a/indra/newview/llfloaterreporter.cpp
+++ b/indra/newview/llfloaterreporter.cpp
@@ -707,16 +707,18 @@ public:
class LLUserReportResponder : public LLHTTPClient::Responder
{
+ LOG_CLASS(LLUserReportResponder);
public:
LLUserReportResponder(): LLHTTPClient::Responder() {}
- void errorWithContent(U32 status, const std::string& reason, const LLSD& content)
- {
- // *TODO do some user messaging here
- LLUploadDialog::modalUploadFinished();
- }
- void result(const LLSD& content)
+private:
+ void httpCompleted()
{
+ if (!isGoodStatus())
+ {
+ // *TODO do some user messaging here
+ LL_WARNS("UserReport") << dumpResponse() << LL_ENDL;
+ }
// we don't care about what the server returns
LLUploadDialog::modalUploadFinished();
}