Fix exception reporting in SceneObjectPart so it logs what the exception is rather than just saying it happened.

This commit is contained in:
Robert Adams
2013-01-09 17:40:22 -08:00
committed by Justin Clark-Casey (justincc)
parent af27180131
commit cc8fbf76e6

View File

@@ -4050,9 +4050,9 @@ namespace OpenSim.Region.Framework.Scenes
rigidBody,
m_localId);
}
catch
catch (Exception e)
{
m_log.ErrorFormat("[SCENE]: caught exception meshing object {0}. Object set to phantom.", m_uuid);
m_log.ErrorFormat("[SCENE]: caught exception meshing object {0}. Object set to phantom. e={1}", m_uuid, e);
pa = null;
}