diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 54a6c0ce4b..07c9e3f0b1 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs @@ -1064,10 +1064,11 @@ namespace OpenSim.Framework } } } - catch (System.InvalidOperationException) + catch (System.InvalidOperationException e) { - // This is what happens when there is invalid XML - m_log.DebugFormat("[FORMS]: InvalidOperationException on receiving {0} {1}", verb, requestUrl); + m_log.Debug( + string.Format( + "[FORMS]: InvalidOperationException on response from {0} {1} ", verb, requestUrl), e); } }