summaryrefslogtreecommitdiff
path: root/indra/llcommon/llthread.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/llthread.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/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 e1f0d531cf..bae80a3fb9 100644
--- a/indra/llcommon/llthread.cpp
+++ b/indra/llcommon/llthread.cpp
@@ -236,7 +236,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
}