diff options
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 2fd31d8..0b99e82 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -991,15 +991,7 @@ namespace OpenSim.Framework | |||
991 | catch (System.InvalidOperationException) | 991 | catch (System.InvalidOperationException) |
992 | { | 992 | { |
993 | // This is what happens when there is invalid XML | 993 | // This is what happens when there is invalid XML |
994 | try | 994 | m_log.WarnFormat("[SynchronousRestObjectRequester]: Invalid XML {0} {1}", requestUrl, typeof(TResponse).ToString()); |
995 | { | ||
996 | m_log.WarnFormat("[SynchronousRestObjectRequester]: Invalid XML:"); | ||
997 | using (StreamReader sr = new StreamReader(resp.GetResponseStream())) | ||
998 | m_log.WarnFormat("{0}", sr.ReadToEnd()); | ||
999 | } | ||
1000 | catch (Exception e) | ||
1001 | { } | ||
1002 | |||
1003 | } | 995 | } |
1004 | } | 996 | } |
1005 | return deserial; | 997 | return deserial; |