Add more details to InvalidOperationException logging in SychronousRestFormsRequest.MakeRequest().

This commit is contained in:
Justin Clark-Casey (justincc)
2014-02-27 20:35:56 +00:00
parent 91333b9267
commit 1f4f09ad69

View File

@@ -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);
}
}