aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs
index ae600bb..94acd6c 100644
--- a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs
@@ -271,6 +271,10 @@ namespace OpenSim.Services.Connectors
271 { 271 {
272 newID = SynchronousRestObjectRequester. 272 newID = SynchronousRestObjectRequester.
273 MakeRequest<AssetBase, string>("POST", uri, asset); 273 MakeRequest<AssetBase, string>("POST", uri, asset);
274 if (newID == null)
275 {
276 newID = UUID.Zero.ToString();
277 }
274 } 278 }
275 catch (Exception e) 279 catch (Exception e)
276 { 280 {
@@ -301,6 +305,10 @@ namespace OpenSim.Services.Connectors
301 } 305 }
302 else 306 else
303 { 307 {
308 if (asset.UploadAttempts > 0)
309 {
310 m_log.InfoFormat("[Assets] Upload of {0} succeeded after {1} failed attempts", asset.ID.ToString(), asset.UploadAttempts.ToString());
311 }
304 if (newID != String.Empty) 312 if (newID != String.Empty)
305 { 313 {
306 // Placing this here, so that this work with old asset servers that don't send any reply back 314 // Placing this here, so that this work with old asset servers that don't send any reply back