provide avatar name in log if an exception ends up at the top of an async packet processing stack

viewer-2-initial-appearance
Justin Clark-Casey (justincc) 2010-11-12 23:20:07 +00:00
parent 9c8680cd69
commit 1e7334d985
1 changed files with 3 additions and 2 deletions

View File

@ -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);
}
}