Change some exception to use ToString(). e.Message is not sufficient to fix

errors. Please don't use e.Message, devs NEED to see the dumps!
avinationmerge
Melanie 2010-10-22 13:29:59 +01:00
parent 28c4dd7931
commit 301a926015
1 changed files with 3 additions and 3 deletions

View File

@ -2466,7 +2466,7 @@ namespace OpenSim.Region.Framework.Scenes
} }
catch (Exception e) catch (Exception e)
{ {
m_log.WarnFormat("[SCENE]: Problem casting object: {0}", e.Message); m_log.WarnFormat("[SCENE]: Problem casting object: " + e.ToString());
return false; return false;
} }
@ -3464,7 +3464,7 @@ namespace OpenSim.Region.Framework.Scenes
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[CONNECTION BEGIN]: Exception verifying presence {0}", e.Message); m_log.ErrorFormat("[CONNECTION BEGIN]: Exception verifying presence " + e.ToString());
return false; return false;
} }
@ -3475,7 +3475,7 @@ namespace OpenSim.Region.Framework.Scenes
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[CONNECTION BEGIN]: Exception authorizing user {0}", e.Message); m_log.ErrorFormat("[CONNECTION BEGIN]: Exception authorizing user " + e.ToString());
return false; return false;
} }