aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorOren Hurvitz2014-03-27 09:43:03 +0200
committerOren Hurvitz2014-03-27 15:00:42 +0100
commit76add0fdb0b7b5c0e93c21371c8a4efa3ad2f7e4 (patch)
tree58d871fb55e56d89f407b673a391610ac15e42db /OpenSim
parentminor: Change incorrect "Maximum" in the PhysicalPrimMin OpenSim.ini.example ... (diff)
downloadopensim-SC-76add0fdb0b7b5c0e93c21371c8a4efa3ad2f7e4.zip
opensim-SC-76add0fdb0b7b5c0e93c21371c8a4efa3ad2f7e4.tar.gz
opensim-SC-76add0fdb0b7b5c0e93c21371c8a4efa3ad2f7e4.tar.bz2
opensim-SC-76add0fdb0b7b5c0e93c21371c8a4efa3ad2f7e4.tar.xz
Log errors in MakeRequest() as INFO, not ERROR. Some communications problems are benign (e.g., can't send Friend status update to a region that is down), so don't log them as ERROR so soon. We rethrow the exception, so the caller can still decide to log the error as an ERROR.
Resolves http://opensimulator.org/mantis/view.php?id=7077
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/WebUtil.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs
index eb3633a..89181a9 100644
--- a/OpenSim/Framework/WebUtil.cs
+++ b/OpenSim/Framework/WebUtil.cs
@@ -1026,7 +1026,7 @@ namespace OpenSim.Framework
1026 } 1026 }
1027 catch (Exception e) 1027 catch (Exception e)
1028 { 1028 {
1029 m_log.ErrorFormat("[FORMS]: Error sending request to {0}: {1}. Request: {2}", requestUrl, e.Message, 1029 m_log.InfoFormat("[FORMS]: Error sending request to {0}: {1}. Request: {2}", requestUrl, e.Message,
1030 obj.Length > WebUtil.MaxRequestDiagLength ? obj.Remove(WebUtil.MaxRequestDiagLength) : obj); 1030 obj.Length > WebUtil.MaxRequestDiagLength ? obj.Remove(WebUtil.MaxRequestDiagLength) : obj);
1031 throw e; 1031 throw e;
1032 } 1032 }
@@ -1054,7 +1054,7 @@ namespace OpenSim.Framework
1054 } 1054 }
1055 catch (Exception e) 1055 catch (Exception e)
1056 { 1056 {
1057 m_log.ErrorFormat("[FORMS]: Error receiving response from {0}: {1}. Request: {2}", requestUrl, e.Message, 1057 m_log.InfoFormat("[FORMS]: Error receiving response from {0}: {1}. Request: {2}", requestUrl, e.Message,
1058 obj.Length > WebUtil.MaxRequestDiagLength ? obj.Remove(WebUtil.MaxRequestDiagLength) : obj); 1058 obj.Length > WebUtil.MaxRequestDiagLength ? obj.Remove(WebUtil.MaxRequestDiagLength) : obj);
1059 throw e; 1059 throw e;
1060 } 1060 }