aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-02-27 20:35:56 +0000
committerJustin Clark-Casey (justincc)2014-02-27 20:35:56 +0000
commit1f4f09ad698a25e8aaf1f996fb96e875c8d9704b (patch)
treea9ea6ad39cc8e4f2f267a93fe7bc3f4e91397b2f
parentStop LSL_Api.GetLinkEntities() from creating an unused list on every paramete... (diff)
downloadopensim-SC_OLD-1f4f09ad698a25e8aaf1f996fb96e875c8d9704b.zip
opensim-SC_OLD-1f4f09ad698a25e8aaf1f996fb96e875c8d9704b.tar.gz
opensim-SC_OLD-1f4f09ad698a25e8aaf1f996fb96e875c8d9704b.tar.bz2
opensim-SC_OLD-1f4f09ad698a25e8aaf1f996fb96e875c8d9704b.tar.xz
Add more details to InvalidOperationException logging in SychronousRestFormsRequest.MakeRequest().
-rw-r--r--OpenSim/Framework/WebUtil.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs
index 54a6c0c..07c9e3f 100644
--- a/OpenSim/Framework/WebUtil.cs
+++ b/OpenSim/Framework/WebUtil.cs
@@ -1064,10 +1064,11 @@ namespace OpenSim.Framework
1064 } 1064 }
1065 } 1065 }
1066 } 1066 }
1067 catch (System.InvalidOperationException) 1067 catch (System.InvalidOperationException e)
1068 { 1068 {
1069 // This is what happens when there is invalid XML 1069 m_log.Debug(
1070 m_log.DebugFormat("[FORMS]: InvalidOperationException on receiving {0} {1}", verb, requestUrl); 1070 string.Format(
1071 "[FORMS]: InvalidOperationException on response from {0} {1} ", verb, requestUrl), e);
1071 } 1072 }
1072 } 1073 }
1073 1074