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!
viewer-2-initial-appearance
Melanie 2010-10-22 13:29:59 +01:00
parent 21187f459e
commit 700f4ddea4
1 changed files with 3 additions and 3 deletions

View File

@ -2395,7 +2395,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;
} }
@ -3347,7 +3347,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;
} }
@ -3358,7 +3358,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;
} }