minor: Use default(UUID) in rez attachment failure error logging rather than (UUID)null

Patch from http://opensimulator.org/mantis/view.php?id=6843
Thanks Kira.
link-sitting
Justin Clark-Casey (justincc) 2013-11-15 23:16:12 +00:00
parent 346644016c
commit ecfb78dd16
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
}
catch (Exception e)
{
UUID agentId = (sp.ControllingClient == null) ? (UUID)null : sp.ControllingClient.AgentId;
UUID agentId = (sp.ControllingClient == null) ? default(UUID) : sp.ControllingClient.AgentId;
m_log.ErrorFormat("[ATTACHMENTS MODULE]: Unable to rez attachment with itemID {0}, assetID {1}, point {2} for {3}: {4}\n{5}",
attach.ItemID, attach.AssetID, attachmentPt, agentId, e.Message, e.StackTrace);
}