Always throw an exception if MakeRequest (used for HTTP POST) fails. (Previously many exceptions were ignored)

Resolves http://opensimulator.org/mantis/view.php?id=6949
This commit is contained in:
Oren Hurvitz
2013-12-19 10:51:57 +02:00
parent f901a38204
commit f90aee696a
2 changed files with 12 additions and 21 deletions

View File

@@ -738,11 +738,11 @@ namespace OpenSim.Framework.Servers.HttpServer
}
catch (IOException e)
{
m_log.Error(String.Format("[BASE HTTP SERVER]: HandleRequest() threw {0} ", e.StackTrace), e);
m_log.Error("[BASE HTTP SERVER]: HandleRequest() threw exception ", e);
}
catch (Exception e)
{
m_log.Error(String.Format("[BASE HTTP SERVER]: HandleRequest() threw {0} ", e.StackTrace), e);
m_log.Error("[BASE HTTP SERVER]: HandleRequest() threw exception ", e);
try
{
byte[] buffer500 = SendHTML500(response);