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.
prebuild-update
Melanie Thielker 2010-08-25 23:04:12 +02:00 committed by Melanie
parent a2113ecc71
commit 739eb14741
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ namespace OpenSim.Framework.Servers.HttpServer
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[FORMS]: exception occured on sending request to {0}: {1}", requestUrl, e.Message); m_log.DebugFormat("[FORMS]: exception occured on sending request to {0}: " + e.ToString(), requestUrl);
} }
finally finally
{ {
@ -112,7 +112,7 @@ namespace OpenSim.Framework.Servers.HttpServer
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[FORMS]: exception occured on receiving reply {0}", e.Message); m_log.DebugFormat("[FORMS]: exception occured on receiving reply " + e.ToString());
} }
finally finally
{ {