Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the exception on error

0.8.1-post-fixes
Justin Clark-Casey (justincc) 2015-01-19 23:52:34 +00:00
parent 1f04e1bc23
commit 24ef043395
1 changed files with 2 additions and 2 deletions

View File

@ -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++;