mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Catch but don't print out exceptions that make it to the top of the async_call_method stack.
This is not helpful for release code.
This commit is contained in:
@@ -1550,16 +1550,16 @@ namespace OpenSim.Framework
|
||||
{
|
||||
Culture.SetCurrentCulture();
|
||||
|
||||
try
|
||||
{
|
||||
// try
|
||||
// {
|
||||
callback(o);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.ErrorFormat(
|
||||
"[UTIL]: Continuing after async_call_method thread terminated with exception {0}{1}",
|
||||
e.Message, e.StackTrace);
|
||||
}
|
||||
// }
|
||||
// catch (Exception e)
|
||||
// {
|
||||
// m_log.ErrorFormat(
|
||||
// "[UTIL]: Continuing after async_call_method thread terminated with exception {0}{1}",
|
||||
// e.Message, e.StackTrace);
|
||||
// }
|
||||
};
|
||||
|
||||
switch (FireAndForgetMethod)
|
||||
|
||||
Reference in New Issue
Block a user