mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
provide avatar name in log if an exception ends up at the top of an async packet processing stack
This commit is contained in:
@@ -651,8 +651,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
catch (Exception e)
|
||||
{
|
||||
// Make sure that we see any exception caused by the asynchronous operation.
|
||||
m_log.Error(
|
||||
string.Format("[LLCLIENTVIEW]: Caught exception while processing {0}", packetObject.Pack), e);
|
||||
m_log.ErrorFormat(
|
||||
"[LLCLIENTVIEW]: Caught exception while processing {0} for {1}, {2} {3}",
|
||||
packetObject.Pack, Name, e.Message, e.StackTrace);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user