Add log warning if xmlrpc request deserialization fails
parent
9aee2bc8e7
commit
754bfeeb04
|
@ -700,10 +700,13 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
|
||||
try
|
||||
{
|
||||
xmlRprcRequest = (XmlRpcRequest) (new XmlRpcRequestDeserializer()).Deserialize(requestBody);
|
||||
xmlRprcRequest = (XmlRpcRequest)(new XmlRpcRequestDeserializer()).Deserialize(requestBody);
|
||||
}
|
||||
catch (XmlException)
|
||||
catch (XmlException e)
|
||||
{
|
||||
m_log.WarnFormat(
|
||||
"[BASE HTTP SERVER]: Ignoring XMLRPC request from {0} due to deserialization exception {1} {2}",
|
||||
request.RemoteIPEndPoint, e.Message, e.StackTrace);
|
||||
}
|
||||
|
||||
if (xmlRprcRequest != null)
|
||||
|
|
Loading…
Reference in New Issue