diff options
author | Justin Clark-Casey (justincc) | 2011-09-23 22:40:34 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-23 22:40:34 +0100 |
commit | a4e1d29e3c923304a08fc2a93d6ee4ebfab48e6f (patch) | |
tree | 65516f0b384fb7e73914f406ba84c0d8333dbdb9 | |
parent | Merge branch 'master' into 0.7.2-post-fixes (diff) | |
download | opensim-SC_OLD-a4e1d29e3c923304a08fc2a93d6ee4ebfab48e6f.zip opensim-SC_OLD-a4e1d29e3c923304a08fc2a93d6ee4ebfab48e6f.tar.gz opensim-SC_OLD-a4e1d29e3c923304a08fc2a93d6ee4ebfab48e6f.tar.bz2 opensim-SC_OLD-a4e1d29e3c923304a08fc2a93d6ee4ebfab48e6f.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Util.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index c4fc643..f187ab8 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -1550,16 +1550,16 @@ namespace OpenSim.Framework | |||
1550 | { | 1550 | { |
1551 | Culture.SetCurrentCulture(); | 1551 | Culture.SetCurrentCulture(); |
1552 | 1552 | ||
1553 | try | 1553 | // try |
1554 | { | 1554 | // { |
1555 | callback(o); | 1555 | callback(o); |
1556 | } | 1556 | // } |
1557 | catch (Exception e) | 1557 | // catch (Exception e) |
1558 | { | 1558 | // { |
1559 | m_log.ErrorFormat( | 1559 | // m_log.ErrorFormat( |
1560 | "[UTIL]: Continuing after async_call_method thread terminated with exception {0}{1}", | 1560 | // "[UTIL]: Continuing after async_call_method thread terminated with exception {0}{1}", |
1561 | e.Message, e.StackTrace); | 1561 | // e.Message, e.StackTrace); |
1562 | } | 1562 | // } |
1563 | }; | 1563 | }; |
1564 | 1564 | ||
1565 | switch (FireAndForgetMethod) | 1565 | switch (FireAndForgetMethod) |