diff options
author | Melanie Thielker | 2010-08-25 23:04:12 +0200 |
---|---|---|
committer | Melanie | 2010-08-25 23:18:15 +0100 |
commit | 739eb14741151716bf1325c0d73a95e6ee8c148d (patch) | |
tree | 4afbc6a5f9d2b8f39774145d6af8fb4d0bd0ffe9 | |
parent | Typo (diff) | |
download | opensim-SC_OLD-739eb14741151716bf1325c0d73a95e6ee8c148d.zip opensim-SC_OLD-739eb14741151716bf1325c0d73a95e6ee8c148d.tar.gz opensim-SC_OLD-739eb14741151716bf1325c0d73a95e6ee8c148d.tar.bz2 opensim-SC_OLD-739eb14741151716bf1325c0d73a95e6ee8c148d.tar.xz |
Change some e.Message to e.ToString. Don't use e.Message, it doesn't carry
any useful information. Error messages are useless without location information.
It looks more elegant, but is totally pointless.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs b/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs index b0cf34d..acf725a 100644 --- a/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs +++ b/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs | |||
@@ -81,7 +81,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
81 | } | 81 | } |
82 | catch (Exception e) | 82 | catch (Exception e) |
83 | { | 83 | { |
84 | m_log.DebugFormat("[FORMS]: exception occured on sending request to {0}: {1}", requestUrl, e.Message); | 84 | m_log.DebugFormat("[FORMS]: exception occured on sending request to {0}: " + e.ToString(), requestUrl); |
85 | } | 85 | } |
86 | finally | 86 | finally |
87 | { | 87 | { |
@@ -112,7 +112,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
112 | } | 112 | } |
113 | catch (Exception e) | 113 | catch (Exception e) |
114 | { | 114 | { |
115 | m_log.DebugFormat("[FORMS]: exception occured on receiving reply {0}", e.Message); | 115 | m_log.DebugFormat("[FORMS]: exception occured on receiving reply " + e.ToString()); |
116 | } | 116 | } |
117 | finally | 117 | finally |
118 | { | 118 | { |