change debugging around failed prim loading. I have one prim that doesn't

like loading in my environment, and hopefully this will help figure out
what is going on
afrisby
Sean Dague 2007-08-31 11:48:29 +00:00
parent e158a45b09
commit a37275fe40
1 changed files with 5 additions and 2 deletions

View File

@ -175,8 +175,11 @@ namespace OpenSim.DataStore.MonoSqliteStorage
createdObjects[new LLUUID(objID)].AddPart(prim);
}
}
catch (Exception)
catch (Exception e)
{
MainLog.Instance.Error("DATASTORE", "Failed create prim object, exception and data follows");
MainLog.Instance.Verbose(e.ToString());
foreach (DataColumn col in prims.Columns)
{
MainLog.Instance.Verbose("Col: " + col.ColumnName + " => " + primRow[col]);
@ -184,7 +187,7 @@ namespace OpenSim.DataStore.MonoSqliteStorage
}
}
MainLog.Instance.Verbose("DATASTORE", "Sqlite - LoadObjects found " + prims.Rows.Count + " primitives");
return retvals;
return retvals;
}
public void StoreTerrain(double[,] ter)