add soem try/catch (and yes..yes right on last commit should hed been write...
parent
0518b397a3
commit
fa844d7e6e
|
@ -117,10 +117,18 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
return;
|
||||
}
|
||||
}
|
||||
try
|
||||
{
|
||||
if(m_processRequest != null)
|
||||
m_processRequest(httpRequest, httpResponse, args);
|
||||
else
|
||||
ProcessRequest(httpRequest, httpResponse, args);
|
||||
}
|
||||
catch
|
||||
{
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.InternalServerError;
|
||||
}
|
||||
|
||||
RequestsHandled++;
|
||||
}
|
||||
|
||||
|
|
|
@ -88,10 +88,19 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
if (m_processRequest != null)
|
||||
m_processRequest(httpRequest, httpResponse);
|
||||
else
|
||||
ProcessRequest(httpRequest, httpResponse);
|
||||
}
|
||||
catch
|
||||
{
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.InternalServerError;
|
||||
}
|
||||
|
||||
RequestsHandled++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue