diff options
author | Oren Hurvitz | 2012-04-23 15:31:45 +0300 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-24 21:38:09 +0100 |
commit | 2f398231acda79e313c2975ecdd5a6015cb71a54 (patch) | |
tree | b5277aca723d6ccf74ec875d4b6fd05e8c9453c1 /OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |
parent | Refactored how asset/inventory types are associated with content types: gathe... (diff) | |
download | opensim-SC_OLD-2f398231acda79e313c2975ecdd5a6015cb71a54.zip opensim-SC_OLD-2f398231acda79e313c2975ecdd5a6015cb71a54.tar.gz opensim-SC_OLD-2f398231acda79e313c2975ecdd5a6015cb71a54.tar.bz2 opensim-SC_OLD-2f398231acda79e313c2975ecdd5a6015cb71a54.tar.xz |
Minor improvements to logging
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index faa413e..0618add 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -143,7 +143,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
143 | } | 143 | } |
144 | catch (Exception e) | 144 | catch (Exception e) |
145 | { | 145 | { |
146 | m_log.ErrorFormat("[ATTACHMENTS MODULE]: Unable to rez attachment: {0}{1}", e.Message, e.StackTrace); | 146 | UUID agentId = (sp.ControllingClient == null) ? (UUID)null : sp.ControllingClient.AgentId; |
147 | m_log.ErrorFormat("[ATTACHMENTS MODULE]: Unable to rez attachment with itemID {0}, assetID {1}, point {2} for {3}: {4}\n{5}", | ||
148 | attach.ItemID, attach.AssetID, p, agentId, e.Message, e.StackTrace); | ||
147 | } | 149 | } |
148 | } | 150 | } |
149 | } | 151 | } |