From 24ef04339567f366ad0d707b4a8e9beec916b24e Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Mon, 19 Jan 2015 23:52:34 +0000 Subject: [PATCH] Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the exception on error --- .../Framework/Servers/HttpServer/PollServiceHttpRequest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs index 6aa94794ee..caf0e98ef0 100644 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs @@ -72,7 +72,7 @@ namespace OpenSim.Framework.Servers.HttpServer } catch (Exception ex) { - m_log.Warn(string.Format("[POLL SERVICE WORKER THREAD]: Error ", ex)); + m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", ex); } finally { @@ -87,7 +87,7 @@ namespace OpenSim.Framework.Servers.HttpServer } catch (Exception e) { - m_log.Warn(String.Format("[POLL SERVICE WORKER THREAD]: Error ", e)); + m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", e); } PollServiceArgs.RequestsHandled++;