diff options
Diffstat (limited to 'OpenSim/Framework/WebUtil.cs')
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 40c1634..768ff16 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -1203,9 +1203,9 @@ namespace OpenSim.Framework | |||
1203 | if (hwr != null && hwr.StatusCode == HttpStatusCode.NotFound) | 1203 | if (hwr != null && hwr.StatusCode == HttpStatusCode.NotFound) |
1204 | return deserial; | 1204 | return deserial; |
1205 | else | 1205 | else |
1206 | m_log.ErrorFormat( | 1206 | m_log.Error(string.Format( |
1207 | "[SynchronousRestObjectRequester]: WebException for {0} {1} {2}: {3} {4}", | 1207 | "[SynchronousRestObjectRequester]: WebException for {0} {1} {2} ", |
1208 | verb, requestUrl, typeof(TResponse).ToString(), e.Message, e.StackTrace); | 1208 | verb, requestUrl, typeof(TResponse).ToString()), e); |
1209 | } | 1209 | } |
1210 | } | 1210 | } |
1211 | catch (System.InvalidOperationException) | 1211 | catch (System.InvalidOperationException) |
@@ -1217,9 +1217,9 @@ namespace OpenSim.Framework | |||
1217 | } | 1217 | } |
1218 | catch (Exception e) | 1218 | catch (Exception e) |
1219 | { | 1219 | { |
1220 | m_log.DebugFormat( | 1220 | m_log.Debug(string.Format( |
1221 | "[SynchronousRestObjectRequester]: Exception on response from {0} {1}: {2}{3}", | 1221 | "[SynchronousRestObjectRequester]: Exception on response from {0} {1} ", |
1222 | verb, requestUrl, e.Message, e.StackTrace); | 1222 | verb, requestUrl), e); |
1223 | } | 1223 | } |
1224 | 1224 | ||
1225 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); | 1225 | int tickdiff = Util.EnvironmentTickCountSubtract(tickstart); |