Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the exception on error
parent
1f04e1bc23
commit
24ef043395
OpenSim/Framework/Servers/HttpServer
|
@ -72,7 +72,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
m_log.Warn(string.Format("[POLL SERVICE WORKER THREAD]: Error ", ex));
|
m_log.Warn("[POLL SERVICE WORKER THREAD]: Error ", ex);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -87,7 +87,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
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++;
|
PollServiceArgs.RequestsHandled++;
|
||||||
|
|
Loading…
Reference in New Issue