aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateAssetData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateAssetData.cs')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateAssetData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateAssetData.cs b/OpenSim/Data/NHibernate/NHibernateAssetData.cs
index 488cae4..9b5a9b6 100644
--- a/OpenSim/Data/NHibernate/NHibernateAssetData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateAssetData.cs
@@ -107,7 +107,7 @@ namespace OpenSim.Data.NHibernate
107 { 107 {
108 return session.Load(typeof(AssetBase), uuid) as AssetBase; 108 return session.Load(typeof(AssetBase), uuid) as AssetBase;
109 } 109 }
110 catch (ObjectNotFoundException e) 110 catch (ObjectNotFoundException)
111 { 111 {
112 m_log.ErrorFormat("[NHIBERNATE] no such asset {0}", uuid); 112 m_log.ErrorFormat("[NHIBERNATE] no such asset {0}", uuid);
113 return null; 113 return null;
@@ -125,7 +125,7 @@ namespace OpenSim.Data.NHibernate
125 { 125 {
126 AssetBase a = session.Load(typeof(AssetBase), asset.FullID) as AssetBase; 126 AssetBase a = session.Load(typeof(AssetBase), asset.FullID) as AssetBase;
127 } 127 }
128 catch (ObjectNotFoundException e) 128 catch (ObjectNotFoundException)
129 { 129 {
130 session.Save(asset); 130 session.Save(asset);
131 session.Flush(); 131 session.Flush();