diff options
author | Justin Clark-Casey (justincc) | 2010-11-12 23:20:07 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-11-12 23:20:07 +0000 |
commit | 1e7334d9859e20ba6bc5652f9d61ce9d0bff8906 (patch) | |
tree | f20ff537e2cc9a2f6ab07c14790979f997092f42 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Fix prebubild.exe for Nant add missing "/" fixes Nant builds (diff) | |
download | opensim-SC_OLD-1e7334d9859e20ba6bc5652f9d61ce9d0bff8906.zip opensim-SC_OLD-1e7334d9859e20ba6bc5652f9d61ce9d0bff8906.tar.gz opensim-SC_OLD-1e7334d9859e20ba6bc5652f9d61ce9d0bff8906.tar.bz2 opensim-SC_OLD-1e7334d9859e20ba6bc5652f9d61ce9d0bff8906.tar.xz |
provide avatar name in log if an exception ends up at the top of an async packet processing stack
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 4aa19d1..8d85d1a 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -651,8 +651,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
651 | catch (Exception e) | 651 | catch (Exception e) |
652 | { | 652 | { |
653 | // Make sure that we see any exception caused by the asynchronous operation. | 653 | // Make sure that we see any exception caused by the asynchronous operation. |
654 | m_log.Error( | 654 | m_log.ErrorFormat( |
655 | string.Format("[LLCLIENTVIEW]: Caught exception while processing {0}", packetObject.Pack), e); | 655 | "[LLCLIENTVIEW]: Caught exception while processing {0} for {1}, {2} {3}", |
656 | packetObject.Pack, Name, e.Message, e.StackTrace); | ||
656 | } | 657 | } |
657 | } | 658 | } |
658 | 659 | ||