summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-01-16 18:11:10 +0200
committerandreykproductengine <akleshchev@productengine.com>2015-01-16 18:11:10 +0200
commitf743470f5f3534d0e3b688abc0874d428813be73 (patch)
treeb9c4dfc36451e228cd756e69c096dec0ca460ccb /indra
parentd5fe509c154913d76673d60ab153297a357466bb (diff)
MAINT-4804 FIXED Viewer gets stuck in mode sending email with snapshot if that fails
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llpostcard.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpostcard.cpp b/indra/newview/llpostcard.cpp
index 649bb2fb2c..5987044bff 100755
--- a/indra/newview/llpostcard.cpp
+++ b/indra/newview/llpostcard.cpp
@@ -95,6 +95,12 @@ public:
{
}
+ /*virtual*/ void httpFailure()
+ {
+ LL_WARNS() << "Sending postcard failed, status: " << getStatus() << LL_ENDL;
+ LLPostCard::reportPostResult(false);
+ }
+
/*virtual*/ void uploadComplete(const LLSD& content)
{
LL_INFOS() << "Postcard sent" << LL_ENDL;