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

0.8.0.3
Justin Clark-Casey (justincc) 2014-02-27 20:35:56 +00:00
parent 91333b9267
commit 1f4f09ad69
1 changed files with 4 additions and 3 deletions

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.Debug(
m_log.DebugFormat("[FORMS]: InvalidOperationException on receiving {0} {1}", verb, requestUrl); string.Format(
"[FORMS]: InvalidOperationException on response from {0} {1} ", verb, requestUrl), e);
} }
} }