diff options
author | Melanie Thielker | 2010-08-25 23:04:12 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-08-25 23:04:12 +0200 |
commit | 1bcb2e788fd895a7d8165797c29e6f2a652eff8b (patch) | |
tree | 2e1cab0b0d6be8a6a071dc6e5d8c524da21ba842 /OpenSim | |
parent | Correct a logic error in attachment cleanup (diff) | |
download | opensim-SC_OLD-1bcb2e788fd895a7d8165797c29e6f2a652eff8b.zip opensim-SC_OLD-1bcb2e788fd895a7d8165797c29e6f2a652eff8b.tar.gz opensim-SC_OLD-1bcb2e788fd895a7d8165797c29e6f2a652eff8b.tar.bz2 opensim-SC_OLD-1bcb2e788fd895a7d8165797c29e6f2a652eff8b.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 'OpenSim')
-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 92a6caa..e9ae3a3 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 | { |