aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2015-01-19 23:52:34 +0000
committerJustin Clark-Casey (justincc)2015-01-19 23:52:34 +0000
commit24ef04339567f366ad0d707b4a8e9beec916b24e (patch)
tree09beadc3f26df3182df8cd1e98bf45edbaf1d6af
parentminor: In AttachmentsModule.UpdateKnownItem use the existing IInventoryAccess... (diff)
downloadopensim-SC-24ef04339567f366ad0d707b4a8e9beec916b24e.zip
opensim-SC-24ef04339567f366ad0d707b4a8e9beec916b24e.tar.gz
opensim-SC-24ef04339567f366ad0d707b4a8e9beec916b24e.tar.bz2
opensim-SC-24ef04339567f366ad0d707b4a8e9beec916b24e.tar.xz
Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the exception on error
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs
index 6aa9479..caf0e98 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs
@@ -72,7 +72,7 @@ namespace OpenSim.Framework.Servers.HttpServer
72 } 72 }
73 catch (Exception ex) 73 catch (Exception ex)
74 { 74 {
75 m_log.Warn(string.Format("[POLL SERVICE WORKER THREAD]: Error ", ex)); 75 m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", ex);
76 } 76 }
77 finally 77 finally
78 { 78 {
@@ -87,7 +87,7 @@ namespace OpenSim.Framework.Servers.HttpServer
87 } 87 }
88 catch (Exception e) 88 catch (Exception e)
89 { 89 {
90 m_log.Warn(String.Format("[POLL SERVICE WORKER THREAD]: Error ", e)); 90 m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", e);
91 } 91 }
92 92
93 PollServiceArgs.RequestsHandled++; 93 PollServiceArgs.RequestsHandled++;