diff options
author | andreykproductengine <none@none> | 2016-03-16 17:56:14 +0200 |
---|---|---|
committer | andreykproductengine <none@none> | 2016-03-16 17:56:14 +0200 |
commit | 2fe6b4143cb693c3675bc640046b52b4a21da18d (patch) | |
tree | 3f327055c394ed95cd311d1a8563476762ff6a95 /indra | |
parent | bcf2686d39f5048a6be1823735eb0c5d2084fd8e (diff) |
MAINT-5938 FIXED when Marketplace is down viewer errors 499 at each login and teleport
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llmarketplacefunctions.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/indra/newview/llmarketplacefunctions.cpp b/indra/newview/llmarketplacefunctions.cpp index d5bfe1df4a..0572ac4c8c 100755 --- a/indra/newview/llmarketplacefunctions.cpp +++ b/indra/newview/llmarketplacefunctions.cpp @@ -174,8 +174,17 @@ protected: log_SLM_infos("Get /merchant", getStatus(), "Merchant is not migrated"); LLMarketplaceData::instance().setSLMStatus(MarketplaceStatusCodes::MARKET_PLACE_NOT_MIGRATED_MERCHANT); } - else - { + else if (HTTP_INTERNAL_ERROR == getStatus()) + { + // 499 includes timeout and ssl error - marketplace is down or having issues, we do not show it in this request according to MAINT-5938 + LL_WARNS("SLM") << "SLM Merchant Request failed with status: " << getStatus() + << ", reason : " << getReason() + << ", code : " << getContent().get("error_code") + << ", description : " << getContent().get("error_description") << LL_ENDL; + LLMarketplaceData::instance().setSLMStatus(MarketplaceStatusCodes::MARKET_PLACE_CONNECTION_FAILURE); + } + else + { log_SLM_warning("Get /merchant", getStatus(), getReason(), getContent().get("error_code"), getContent().get("error_description")); LLMarketplaceData::instance().setSLMStatus(MarketplaceStatusCodes::MARKET_PLACE_CONNECTION_FAILURE); } |