summaryrefslogtreecommitdiff
path: root/indra/llcommon/llthread.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-01-11 16:35:26 +0800
committerErik Kundiman <erik@megapahit.org>2026-01-11 16:35:26 +0800
commit2f765440f8f7017e5af219c6124705c76af477c8 (patch)
treea5ac1cf749b0377ee3780737615bd75c1a5fe306 /indra/llcommon/llthread.cpp
parentbb0d3408d116174986765bcb2cd698a9d4a4f0d7 (diff)
parentb26f62eb0ce72b9cdd83296e87ba1954ee1b8b04 (diff)
Merge tag 'Second_Life_Release#b26f62eb-26.1' into 2026.01
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
}