Bummer, can't print the data I wanted to see. Printing just the context.
parent
f54a36bd59
commit
42bfab84b8
|
@ -991,15 +991,7 @@ namespace OpenSim.Framework
|
||||||
catch (System.InvalidOperationException)
|
catch (System.InvalidOperationException)
|
||||||
{
|
{
|
||||||
// This is what happens when there is invalid XML
|
// This is what happens when there is invalid XML
|
||||||
try
|
m_log.WarnFormat("[SynchronousRestObjectRequester]: Invalid XML {0} {1}", requestUrl, typeof(TResponse).ToString());
|
||||||
{
|
|
||||||
m_log.WarnFormat("[SynchronousRestObjectRequester]: Invalid XML:");
|
|
||||||
using (StreamReader sr = new StreamReader(resp.GetResponseStream()))
|
|
||||||
m_log.WarnFormat("{0}", sr.ReadToEnd());
|
|
||||||
}
|
|
||||||
catch (Exception e)
|
|
||||||
{ }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return deserial;
|
return deserial;
|
||||||
|
|
Loading…
Reference in New Issue