Fix logging level to Error in exception handlers

This commit is contained in:
BlueWall
2014-10-15 09:42:29 -04:00
parent 231cdc2dc1
commit 5c9ef4d083
3 changed files with 54 additions and 54 deletions

View File

@@ -114,7 +114,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": UserAccount exception {0}", e.Message);
}
n.Add("classifieduuid", OSD.FromUUID(Id));
@@ -217,7 +217,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": ClassifiedesUpdate exception {0}", e.Message);
result = e.Message;
return false;
@@ -243,7 +243,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": DeleteClassifiedRecord exception {0}", e.Message);
return false;
}
@@ -289,7 +289,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": GetPickInfo exception {0}", e.Message);
}
return true;
@@ -326,7 +326,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarPicks exception {0}", e.Message);
}
return data;
@@ -378,7 +378,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": GetPickInfo exception {0}", e.Message);
}
return pick;
@@ -446,7 +446,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": UpdateAvatarNotes exception {0}", e.Message);
return false;
}
@@ -471,7 +471,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": DeleteUserPickRecord exception {0}", e.Message);
return false;
}
@@ -507,7 +507,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarNotes exception {0}", e.Message);
}
return true;
@@ -550,7 +550,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": UpdateAvatarNotes exception {0}", e.Message);
return false;
}
@@ -577,7 +577,7 @@ namespace OpenSim.Data.SQLite
}
catch(Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarProperties exception {0}", e.Message);
result = e.Message;
return false;
@@ -696,7 +696,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentPropertiesUpdate exception {0}", e.Message);
return false;
@@ -733,7 +733,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentInterestsUpdate exception {0}", e.Message);
result = e.Message;
return false;
@@ -764,7 +764,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentInterestsUpdate exception {0}", e.Message);
result = e.Message;
return false;
@@ -816,7 +816,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": Get preferences exception {0}", e.Message);
result = e.Message;
return false;
@@ -871,7 +871,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": Requst application data exception {0}", e.Message);
result = e.Message;
return false;
@@ -904,7 +904,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": SetUserData exception {0}", e.Message);
return false;
}
@@ -968,7 +968,7 @@ namespace OpenSim.Data.SQLite
}
catch (Exception e)
{
m_log.DebugFormat("[PROFILES_DATA]" +
m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarNotes exception {0}", e.Message);
}
return data;