aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Communications/RestClient.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs
index 97b3b60..2275e31 100644
--- a/OpenSim/Framework/Communications/RestClient.cs
+++ b/OpenSim/Framework/Communications/RestClient.cs
@@ -318,12 +318,11 @@ namespace OpenSim.Framework.Communications
318 HttpWebResponse errorResponse = e.Response as HttpWebResponse; 318 HttpWebResponse errorResponse = e.Response as HttpWebResponse;
319 if (null != errorResponse && HttpStatusCode.NotFound == errorResponse.StatusCode) 319 if (null != errorResponse && HttpStatusCode.NotFound == errorResponse.StatusCode)
320 { 320 {
321 m_log.Warn("[REST CLIENT] Resource not found (404)"); 321 m_log.WarnFormat("[REST CLIENT] Resource not found (404): {0}", _request.Address.ToString());
322 } 322 }
323 else 323 else
324 { 324 {
325 m_log.Error("[REST CLIENT] Error fetching resource from server " + _request.Address.ToString()); 325 m_log.Error(string.Format("[REST CLIENT] Error fetching resource from server: {0} ", _request.Address.ToString()), e);
326 m_log.Debug(e.ToString());
327 } 326 }
328 327
329 return null; 328 return null;