summaryrefslogtreecommitdiff
path: root/indra/llcommon/workqueue.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2026-03-12 19:09:06 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2026-03-12 19:09:06 +0200
commit82d018806a79553cc53a91027760eed5282f2d6b (patch)
tree06ccac7daa2abbb3ec39ff34c1ce161dfc4e823f /indra/llcommon/workqueue.cpp
parent28958ab7ae368d53b21888d178a9eb04ac6d82d2 (diff)
parent18db816ef7552785ffa26d6d0397efbb341a999f (diff)
Merge branch 'main' into marchcat/slua-26.1
# Conflicts: # autobuild.xml # indra/llwindow/llwindowwin32.cpp # indra/newview/llappviewer.cpp # indra/newview/llinventorygallerymenu.cpp
Diffstat (limited to 'indra/llcommon/workqueue.cpp')
-rw-r--r--indra/llcommon/workqueue.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llcommon/workqueue.cpp b/indra/llcommon/workqueue.cpp
index 4db44ff2a6..67c23358ed 100644
--- a/indra/llcommon/workqueue.cpp
+++ b/indra/llcommon/workqueue.cpp
@@ -216,10 +216,15 @@ void LL::WorkQueueBase::callWork(const Work& work)
LL_WARNS("LLCoros") << "Capturing and rethrowing uncaught exception in WorkQueueBase "
<< getKey() << LL_ENDL;
+ std::string name = getKey();
LL::WorkQueue::ptr_t main_queue = LL::WorkQueue::getInstance("mainloop");
main_queue->post(
// Bind the current exception, rethrow it in main loop.
- [exc = std::current_exception()]() { std::rethrow_exception(exc); });
+ [exc = std::current_exception(), name]()
+ {
+ LL_INFOS("LLCoros") << "Rethrowing exception from WorkQueueBase::callWork " << name << LL_ENDL;
+ std::rethrow_exception(exc);
+ });
}
else
{