mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Bummer, can't print the data I wanted to see. Printing just the context.
This commit is contained in:
@@ -991,15 +991,7 @@ namespace OpenSim.Framework
|
||||
catch (System.InvalidOperationException)
|
||||
{
|
||||
// This is what happens when there is invalid XML
|
||||
try
|
||||
{
|
||||
m_log.WarnFormat("[SynchronousRestObjectRequester]: Invalid XML:");
|
||||
using (StreamReader sr = new StreamReader(resp.GetResponseStream()))
|
||||
m_log.WarnFormat("{0}", sr.ReadToEnd());
|
||||
}
|
||||
catch (Exception e)
|
||||
{ }
|
||||
|
||||
m_log.WarnFormat("[SynchronousRestObjectRequester]: Invalid XML {0} {1}", requestUrl, typeof(TResponse).ToString());
|
||||
}
|
||||
}
|
||||
return deserial;
|
||||
|
||||
Reference in New Issue
Block a user