summaryrefslogtreecommitdiff
path: root/indra/llcommon/llthread.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2026-02-24 11:34:08 -0500
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2026-02-24 11:34:08 -0500
commit276cef06232cc3331231fa2155e2eebf6517dfd5 (patch)
treed15cfdd8c40370b6d1b5300545c4ed8dc866b46b /indra/llcommon/llthread.cpp
parenta6b978b3e00f2e7e186b97d8a4997374adecdafc (diff)
parent44e21aa718211cf34a59a036f2831c2e80fef8e1 (diff)
Merge branch 'release/2026.01' into project/one-click
Diffstat (limited to 'indra/llcommon/llthread.cpp')
-rw-r--r--indra/llcommon/llthread.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcommon/llthread.cpp b/indra/llcommon/llthread.cpp
index 692941a892..8c12ee7f12 100644
--- a/indra/llcommon/llthread.cpp
+++ b/indra/llcommon/llthread.cpp
@@ -240,7 +240,11 @@ void LLThread::tryRun()
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 = mName]()
+ {
+ LL_INFOS("THREAD") << "Rethrowing exception from thread " << name << LL_ENDL;
+ std::rethrow_exception(exc);
+ });
}
#endif // else LL_WINDOWS
}