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.
This commit is contained in:
Melanie Thielker
2010-08-25 23:04:12 +02:00
parent c13045b25e
commit 1bcb2e788f

View File

@@ -81,7 +81,7 @@ namespace OpenSim.Framework.Servers.HttpServer
}
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
{
@@ -112,7 +112,7 @@ namespace OpenSim.Framework.Servers.HttpServer
}
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
{