Bummer, can't print the data I wanted to see. Printing just the context.

bulletsim
Diva Canto 2011-05-12 18:47:14 -07:00
parent f54a36bd59
commit 42bfab84b8
1 changed files with 1 additions and 9 deletions

View File

@ -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;