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.
0.7.2-post-fixes
Justin Clark-Casey (justincc) 2011-09-23 22:40:34 +01:00
parent 8c4dd6b330
commit a4e1d29e3c
1 changed files with 9 additions and 9 deletions

View File

@ -1550,16 +1550,16 @@ namespace OpenSim.Framework
{ {
Culture.SetCurrentCulture(); Culture.SetCurrentCulture();
try // try
{ // {
callback(o); callback(o);
} // }
catch (Exception e) // catch (Exception e)
{ // {
m_log.ErrorFormat( // m_log.ErrorFormat(
"[UTIL]: Continuing after async_call_method thread terminated with exception {0}{1}", // "[UTIL]: Continuing after async_call_method thread terminated with exception {0}{1}",
e.Message, e.StackTrace); // e.Message, e.StackTrace);
} // }
}; };
switch (FireAndForgetMethod) switch (FireAndForgetMethod)