summaryrefslogtreecommitdiff
path: root/indra/llcommon/workqueue.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2026-02-04 17:04:26 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2026-02-04 17:05:15 +0200
commit459bd1e943de916d4d50e2b918da756a0526f88b (patch)
tree27efdfa3fb4cabc4c203669caf351791a4ba9ece /indra/llcommon/workqueue.cpp
parentc5c9b1fe1e69ca8b406f9bbffa8218e2687ea1ce (diff)
parentb4a6af57a667d355e7347f1a3c13173b44b361ff (diff)
Merge branch 'release/2026.01' into project/voice_moderation
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 7efaebd569..0407d6c3e9 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
{