If we fail to gather asset uuids for a particular asset, log the failing asset id and type
							parent
							
								
									21bb27193a
								
							
						
					
					
						commit
						7c2e34e5f6
					
				|  | @ -85,6 +85,8 @@ namespace OpenSim.Region.Framework.Scenes | ||||||
|         /// <param name="assetType">The type of the asset for the uuid given</param> |         /// <param name="assetType">The type of the asset for the uuid given</param> | ||||||
|         /// <param name="assetUuids">The assets gathered</param> |         /// <param name="assetUuids">The assets gathered</param> | ||||||
|         public void GatherAssetUuids(UUID assetUuid, AssetType assetType, IDictionary<UUID, int> assetUuids) |         public void GatherAssetUuids(UUID assetUuid, AssetType assetType, IDictionary<UUID, int> assetUuids) | ||||||
|  |         { | ||||||
|  |             try | ||||||
|             {                |             {                | ||||||
|                 assetUuids[assetUuid] = 1; |                 assetUuids[assetUuid] = 1; | ||||||
|      |      | ||||||
|  | @ -105,6 +107,14 @@ namespace OpenSim.Region.Framework.Scenes | ||||||
|                     GetSceneObjectAssetUuids(assetUuid, assetUuids); |                     GetSceneObjectAssetUuids(assetUuid, assetUuids); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  |             catch (Exception e) | ||||||
|  |             { | ||||||
|  |                 m_log.ErrorFormat( | ||||||
|  |                     "[UUID GATHERER]: Failed to gathering uuids for asset id {0}, type {1}",  | ||||||
|  |                     assetUuid, assetType); | ||||||
|  |                 throw e; | ||||||
|  |             } | ||||||
|  |         } | ||||||
| 
 | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// Gather all the asset uuids associated with a given object. |         /// Gather all the asset uuids associated with a given object. | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Justin Clark-Casey (justincc)
						Justin Clark-Casey (justincc)