diff options
| author | Rye <rye@alchemyviewer.org> | 2026-01-21 15:33:19 -0500 |
|---|---|---|
| committer | Rye <rye@alchemyviewer.org> | 2026-01-21 16:05:51 -0500 |
| commit | 8896239134a40f41d845c78551d24e005d691d7c (patch) | |
| tree | b5f823454cf491c4a83ecc8cf987cf465854ca30 /indra/llcommon/llthread.cpp | |
| parent | d0db6a49eb7c7dddcde2a340c8ad6c1f1af6e2cf (diff) | |
| parent | 0b2f7fcc6b67f629b41a804f77214d51497127a7 (diff) | |
Merge remote-tracking branch 'origin/develop' into develop-linux
Diffstat (limited to 'indra/llcommon/llthread.cpp')
| -rw-r--r-- | indra/llcommon/llthread.cpp | 6 |
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 } |
