diff options
| author | Don Kjer <don@lindenlab.com> | 2013-03-05 22:05:22 -0800 |
|---|---|---|
| committer | Don Kjer <don@lindenlab.com> | 2013-03-05 22:05:22 -0800 |
| commit | 54cdc322b8f2bd35b289cacf3493622e7cc51194 (patch) | |
| tree | 4f686cdfbaaf8819dfb1b015a1c8388ea1f59eac /indra/newview/llvoavatarself.cpp | |
| parent | 9a0c52a247ecbd79f5f872ceb97a6be3e0499bea (diff) | |
Fixing issues with not detecting when LLSD XML parsing fails. Changing most http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam.
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
| -rwxr-xr-x | indra/newview/llvoavatarself.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index 3605383c5c..9be1de4f0e 100755 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -2264,7 +2264,7 @@ public: else { LL_WARNS("Avatar") << "Failed " << status << " reason " << reason << LL_ENDL; - error(status,reason); + errorWithContent(status,reason,content); } } @@ -2440,11 +2440,12 @@ public: } // Error - /*virtual*/ void error(U32 status, const std::string& reason) + /*virtual*/ void errorWithContent(U32 status, const std::string& reason, const LLSD& content) { if (isAgentAvatarValid()) { - LL_DEBUGS("Avatar") << "failed, will rebake" << llendl; + LL_DEBUGS("Avatar") << "failed, will rebake [status:" + << status << "]: " << content << llendl; forceAppearanceUpdate(); } } |
