From a4e1d29e3c923304a08fc2a93d6ee4ebfab48e6f Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Fri, 23 Sep 2011 22:40:34 +0100 Subject: [PATCH] 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. --- OpenSim/Framework/Util.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index c4fc6437aa..f187ab8791 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs @@ -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)