diff options
author | Diva Canto | 2011-05-12 18:47:14 -0700 |
---|---|---|
committer | Diva Canto | 2011-05-12 18:47:14 -0700 |
commit | 42bfab84b8a8197589bc60167a0f989492a37e17 (patch) | |
tree | 233a73b128faf9bd118ff07651429e8fea4a66d6 /OpenSim/Framework/WebUtil.cs | |
parent | Tracking a problem with offline IMs coming in as null list. (diff) | |
download | opensim-SC-42bfab84b8a8197589bc60167a0f989492a37e17.zip opensim-SC-42bfab84b8a8197589bc60167a0f989492a37e17.tar.gz opensim-SC-42bfab84b8a8197589bc60167a0f989492a37e17.tar.bz2 opensim-SC-42bfab84b8a8197589bc60167a0f989492a37e17.tar.xz |
Bummer, can't print the data I wanted to see. Printing just the context.
Diffstat (limited to '')
-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; |