summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <none@none>2016-03-16 17:56:14 +0200
committerandreykproductengine <none@none>2016-03-16 17:56:14 +0200
commit6adce024a533566bd0d48fb1f8ad49260809fb12 (patch)
tree05ce80bd377dac6d87c6714968a4edadecfaf941
parent0ff6fa576a653597d0e9dda7f1de5f568e8d6829 (diff)
MAINT-5938 FIXED when Marketplace is down viewer errors 499 at each login and teleport
-rwxr-xr-xindra/newview/llmarketplacefunctions.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.cpp b/indra/newview/llmarketplacefunctions.cpp
index dfa33b37ef..6cc7a0fc99 100755
--- a/indra/newview/llmarketplacefunctions.cpp
+++ b/indra/newview/llmarketplacefunctions.cpp
@@ -795,6 +795,15 @@ void LLMarketplaceData::getMerchantStatusCoro()
log_SLM_infos("Get /merchant", httpCode, std::string("Merchant is not migrated"));
setSLMStatus(MarketplaceStatusCodes::MARKET_PLACE_NOT_MIGRATED_MERCHANT);
}
+ else if (httpCode == HTTP_INTERNAL_ERROR)
+ {
+ // 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: " << httpCode
+ << ", reason : " << status.toString()
+ << ", code : " << result["error_code"].asString()
+ << ", description : " << result["error_description"].asString() << LL_ENDL;
+ LLMarketplaceData::instance().setSLMStatus(MarketplaceStatusCodes::MARKET_PLACE_CONNECTION_FAILURE);
+ }
else
{
std::string err_code = result["error_code"].asString();