diff options
Diffstat (limited to 'indra/newview/llmarketplacefunctions.cpp')
-rwxr-xr-x | indra/newview/llmarketplacefunctions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llmarketplacefunctions.cpp b/indra/newview/llmarketplacefunctions.cpp index 6ee81df792..c6660881f0 100755 --- a/indra/newview/llmarketplacefunctions.cpp +++ b/indra/newview/llmarketplacefunctions.cpp @@ -109,7 +109,8 @@ void log_SLM_warning(const std::string& request, U32 status, const std::string& // Prompt the user with the warning (so they know why things are failing) LLSD subs; subs["[ERROR_REASON]"] = reason; - subs["[ERROR_DESCRIPTION]"] = description; + // We do show long descriptions in the alert (unlikely to be readable). The description string will be in the log though. + subs["[ERROR_DESCRIPTION]"] = (description.length() <= 512 ? description : ""); LLNotificationsUtil::add("MerchantTransactionFailed", subs); } |