summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-26 10:17:41 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-26 10:17:41 -0400
commitfb51bab6cd2e3f037142ce7c5f547113d76f0504 (patch)
tree898fe78da4c6cb939a9c2f4f3f047062a36b1c50 /indra/newview
parent638514ca0cbc666a324e757c8de4cceaaaeeadd4 (diff)
SH-4142 FIX - made error messages a bit more informative
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llviewerinventory.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index c44552d7d2..3eab85b8b3 100755
--- a/indra/newview/llviewerinventory.cpp
+++ b/indra/newview/llviewerinventory.cpp
@@ -1166,12 +1166,14 @@ public:
/*virtual*/ void httpFailure()
{
const LLSD& content = getContent();
+ S32 status = getStatus();
+ const std::string& reason = getReason();
if (!content.isMap())
{
- llwarns << "Malformed response contents" << content << llendl;
+ llwarns << "Malformed response contents " << content << " id " << mItemUUID << " status " << status << " reason " << reason << llendl;
return;
}
- llwarns << "failed for " << mItemUUID << " content: " << ll_pretty_print_sd(content) << llendl;
+ llwarns << "failed for " << mItemUUID << " content: " << ll_pretty_print_sd(content) << " status " << status << " reason " << reason << llendl;
}
private:
LLPointer<LLInventoryCallback> mCallback;
@@ -1345,12 +1347,14 @@ public:
/*virtual*/ void httpFailure()
{
const LLSD& content = getContent();
+ S32 status = getStatus();
+ const std::string& reason = getReason();
if (!content.isMap())
{
- llwarns << "Malformed response contents" << content << llendl;
+ llwarns << "Malformed response contents " << content << " id " << mItemUUID << " status " << status << " reason " << reason << llendl;
return;
}
- llwarns << "failed for " << mItemUUID << " content: " << ll_pretty_print_sd(content) << llendl;
+ llwarns << "failed for " << mItemUUID << " content: " << ll_pretty_print_sd(content) << " status " << status << " reason " << reason << llendl;
}
private:
LLPointer<LLInventoryCallback> mCallback;