diff options
| author | Rider Linden <rider@lindenlab.com> | 2016-10-17 14:58:29 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2016-10-17 14:58:29 -0700 |
| commit | 38d06dcce66ce3a7f5a7a1521f0305dbc0ea0bc5 (patch) | |
| tree | 38745f1a60a13b496014a64690e7afda14611830 /indra/newview/llaccountingcostmanager.cpp | |
| parent | b2eded73b9bf55e2253a9c39113ff0598c2c18cb (diff) | |
| parent | 086c1342152895da28d2e0130d09432152604ca8 (diff) | |
Merged lindenlab/viewer-release into default
Diffstat (limited to 'indra/newview/llaccountingcostmanager.cpp')
| -rw-r--r-- | indra/newview/llaccountingcostmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llaccountingcostmanager.cpp b/indra/newview/llaccountingcostmanager.cpp index 92a5413adb..1dddf52961 100644 --- a/indra/newview/llaccountingcostmanager.cpp +++ b/indra/newview/llaccountingcostmanager.cpp @@ -31,6 +31,8 @@ #include "llcoros.h" #include "lleventcoro.h" #include "llcorehttputil.h" +#include "llexception.h" +#include "stringize.h" #include <algorithm> #include <iterator> @@ -154,13 +156,11 @@ void LLAccountingCostManager::accountingCostCoro(std::string url, } while (false); } - catch (std::exception e) - { - LL_WARNS() << "Caught exception '" << e.what() << "'" << LL_ENDL; - } catch (...) { - LL_WARNS() << "Caught unknown exception." << LL_ENDL; + LOG_UNHANDLED_EXCEPTION(STRINGIZE("coroutine " << LLCoros::instance().getName() + << "('" << url << "')")); + throw; } mPendingObjectQuota.clear(); |
