diff options
author | BlueWall | 2014-10-15 09:42:29 -0400 |
---|---|---|
committer | BlueWall | 2014-10-15 09:42:29 -0400 |
commit | 5c9ef4d083a6162b097797aacfc83d3cdeb50c73 (patch) | |
tree | 972e0fb4b9bd1e609c4c60c3e315f46cb0156b20 /OpenSim/Data/SQLite/SQLiteUserProfilesData.cs | |
parent | Cleanup unused code (diff) | |
download | opensim-SC-5c9ef4d083a6162b097797aacfc83d3cdeb50c73.zip opensim-SC-5c9ef4d083a6162b097797aacfc83d3cdeb50c73.tar.gz opensim-SC-5c9ef4d083a6162b097797aacfc83d3cdeb50c73.tar.bz2 opensim-SC-5c9ef4d083a6162b097797aacfc83d3cdeb50c73.tar.xz |
Fix logging level to Error in exception handlers
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserProfilesData.cs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs b/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs index 5494091..7bf3bd5 100644 --- a/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs | |||
@@ -114,7 +114,7 @@ namespace OpenSim.Data.SQLite | |||
114 | } | 114 | } |
115 | catch (Exception e) | 115 | catch (Exception e) |
116 | { | 116 | { |
117 | m_log.DebugFormat("[PROFILES_DATA]" + | 117 | m_log.ErrorFormat("[PROFILES_DATA]" + |
118 | ": UserAccount exception {0}", e.Message); | 118 | ": UserAccount exception {0}", e.Message); |
119 | } | 119 | } |
120 | n.Add("classifieduuid", OSD.FromUUID(Id)); | 120 | n.Add("classifieduuid", OSD.FromUUID(Id)); |
@@ -217,7 +217,7 @@ namespace OpenSim.Data.SQLite | |||
217 | } | 217 | } |
218 | catch (Exception e) | 218 | catch (Exception e) |
219 | { | 219 | { |
220 | m_log.DebugFormat("[PROFILES_DATA]" + | 220 | m_log.ErrorFormat("[PROFILES_DATA]" + |
221 | ": ClassifiedesUpdate exception {0}", e.Message); | 221 | ": ClassifiedesUpdate exception {0}", e.Message); |
222 | result = e.Message; | 222 | result = e.Message; |
223 | return false; | 223 | return false; |
@@ -243,7 +243,7 @@ namespace OpenSim.Data.SQLite | |||
243 | } | 243 | } |
244 | catch (Exception e) | 244 | catch (Exception e) |
245 | { | 245 | { |
246 | m_log.DebugFormat("[PROFILES_DATA]" + | 246 | m_log.ErrorFormat("[PROFILES_DATA]" + |
247 | ": DeleteClassifiedRecord exception {0}", e.Message); | 247 | ": DeleteClassifiedRecord exception {0}", e.Message); |
248 | return false; | 248 | return false; |
249 | } | 249 | } |
@@ -289,7 +289,7 @@ namespace OpenSim.Data.SQLite | |||
289 | } | 289 | } |
290 | catch (Exception e) | 290 | catch (Exception e) |
291 | { | 291 | { |
292 | m_log.DebugFormat("[PROFILES_DATA]" + | 292 | m_log.ErrorFormat("[PROFILES_DATA]" + |
293 | ": GetPickInfo exception {0}", e.Message); | 293 | ": GetPickInfo exception {0}", e.Message); |
294 | } | 294 | } |
295 | return true; | 295 | return true; |
@@ -326,7 +326,7 @@ namespace OpenSim.Data.SQLite | |||
326 | } | 326 | } |
327 | catch (Exception e) | 327 | catch (Exception e) |
328 | { | 328 | { |
329 | m_log.DebugFormat("[PROFILES_DATA]" + | 329 | m_log.ErrorFormat("[PROFILES_DATA]" + |
330 | ": GetAvatarPicks exception {0}", e.Message); | 330 | ": GetAvatarPicks exception {0}", e.Message); |
331 | } | 331 | } |
332 | return data; | 332 | return data; |
@@ -378,7 +378,7 @@ namespace OpenSim.Data.SQLite | |||
378 | } | 378 | } |
379 | catch (Exception e) | 379 | catch (Exception e) |
380 | { | 380 | { |
381 | m_log.DebugFormat("[PROFILES_DATA]" + | 381 | m_log.ErrorFormat("[PROFILES_DATA]" + |
382 | ": GetPickInfo exception {0}", e.Message); | 382 | ": GetPickInfo exception {0}", e.Message); |
383 | } | 383 | } |
384 | return pick; | 384 | return pick; |
@@ -446,7 +446,7 @@ namespace OpenSim.Data.SQLite | |||
446 | } | 446 | } |
447 | catch (Exception e) | 447 | catch (Exception e) |
448 | { | 448 | { |
449 | m_log.DebugFormat("[PROFILES_DATA]" + | 449 | m_log.ErrorFormat("[PROFILES_DATA]" + |
450 | ": UpdateAvatarNotes exception {0}", e.Message); | 450 | ": UpdateAvatarNotes exception {0}", e.Message); |
451 | return false; | 451 | return false; |
452 | } | 452 | } |
@@ -471,7 +471,7 @@ namespace OpenSim.Data.SQLite | |||
471 | } | 471 | } |
472 | catch (Exception e) | 472 | catch (Exception e) |
473 | { | 473 | { |
474 | m_log.DebugFormat("[PROFILES_DATA]" + | 474 | m_log.ErrorFormat("[PROFILES_DATA]" + |
475 | ": DeleteUserPickRecord exception {0}", e.Message); | 475 | ": DeleteUserPickRecord exception {0}", e.Message); |
476 | return false; | 476 | return false; |
477 | } | 477 | } |
@@ -507,7 +507,7 @@ namespace OpenSim.Data.SQLite | |||
507 | } | 507 | } |
508 | catch (Exception e) | 508 | catch (Exception e) |
509 | { | 509 | { |
510 | m_log.DebugFormat("[PROFILES_DATA]" + | 510 | m_log.ErrorFormat("[PROFILES_DATA]" + |
511 | ": GetAvatarNotes exception {0}", e.Message); | 511 | ": GetAvatarNotes exception {0}", e.Message); |
512 | } | 512 | } |
513 | return true; | 513 | return true; |
@@ -550,7 +550,7 @@ namespace OpenSim.Data.SQLite | |||
550 | } | 550 | } |
551 | catch (Exception e) | 551 | catch (Exception e) |
552 | { | 552 | { |
553 | m_log.DebugFormat("[PROFILES_DATA]" + | 553 | m_log.ErrorFormat("[PROFILES_DATA]" + |
554 | ": UpdateAvatarNotes exception {0}", e.Message); | 554 | ": UpdateAvatarNotes exception {0}", e.Message); |
555 | return false; | 555 | return false; |
556 | } | 556 | } |
@@ -577,7 +577,7 @@ namespace OpenSim.Data.SQLite | |||
577 | } | 577 | } |
578 | catch(Exception e) | 578 | catch(Exception e) |
579 | { | 579 | { |
580 | m_log.DebugFormat("[PROFILES_DATA]" + | 580 | m_log.ErrorFormat("[PROFILES_DATA]" + |
581 | ": GetAvatarProperties exception {0}", e.Message); | 581 | ": GetAvatarProperties exception {0}", e.Message); |
582 | result = e.Message; | 582 | result = e.Message; |
583 | return false; | 583 | return false; |
@@ -696,7 +696,7 @@ namespace OpenSim.Data.SQLite | |||
696 | } | 696 | } |
697 | catch (Exception e) | 697 | catch (Exception e) |
698 | { | 698 | { |
699 | m_log.DebugFormat("[PROFILES_DATA]" + | 699 | m_log.ErrorFormat("[PROFILES_DATA]" + |
700 | ": AgentPropertiesUpdate exception {0}", e.Message); | 700 | ": AgentPropertiesUpdate exception {0}", e.Message); |
701 | 701 | ||
702 | return false; | 702 | return false; |
@@ -733,7 +733,7 @@ namespace OpenSim.Data.SQLite | |||
733 | } | 733 | } |
734 | catch (Exception e) | 734 | catch (Exception e) |
735 | { | 735 | { |
736 | m_log.DebugFormat("[PROFILES_DATA]" + | 736 | m_log.ErrorFormat("[PROFILES_DATA]" + |
737 | ": AgentInterestsUpdate exception {0}", e.Message); | 737 | ": AgentInterestsUpdate exception {0}", e.Message); |
738 | result = e.Message; | 738 | result = e.Message; |
739 | return false; | 739 | return false; |
@@ -764,7 +764,7 @@ namespace OpenSim.Data.SQLite | |||
764 | } | 764 | } |
765 | catch (Exception e) | 765 | catch (Exception e) |
766 | { | 766 | { |
767 | m_log.DebugFormat("[PROFILES_DATA]" + | 767 | m_log.ErrorFormat("[PROFILES_DATA]" + |
768 | ": AgentInterestsUpdate exception {0}", e.Message); | 768 | ": AgentInterestsUpdate exception {0}", e.Message); |
769 | result = e.Message; | 769 | result = e.Message; |
770 | return false; | 770 | return false; |
@@ -816,7 +816,7 @@ namespace OpenSim.Data.SQLite | |||
816 | } | 816 | } |
817 | catch (Exception e) | 817 | catch (Exception e) |
818 | { | 818 | { |
819 | m_log.DebugFormat("[PROFILES_DATA]" + | 819 | m_log.ErrorFormat("[PROFILES_DATA]" + |
820 | ": Get preferences exception {0}", e.Message); | 820 | ": Get preferences exception {0}", e.Message); |
821 | result = e.Message; | 821 | result = e.Message; |
822 | return false; | 822 | return false; |
@@ -871,7 +871,7 @@ namespace OpenSim.Data.SQLite | |||
871 | } | 871 | } |
872 | catch (Exception e) | 872 | catch (Exception e) |
873 | { | 873 | { |
874 | m_log.DebugFormat("[PROFILES_DATA]" + | 874 | m_log.ErrorFormat("[PROFILES_DATA]" + |
875 | ": Requst application data exception {0}", e.Message); | 875 | ": Requst application data exception {0}", e.Message); |
876 | result = e.Message; | 876 | result = e.Message; |
877 | return false; | 877 | return false; |
@@ -904,7 +904,7 @@ namespace OpenSim.Data.SQLite | |||
904 | } | 904 | } |
905 | catch (Exception e) | 905 | catch (Exception e) |
906 | { | 906 | { |
907 | m_log.DebugFormat("[PROFILES_DATA]" + | 907 | m_log.ErrorFormat("[PROFILES_DATA]" + |
908 | ": SetUserData exception {0}", e.Message); | 908 | ": SetUserData exception {0}", e.Message); |
909 | return false; | 909 | return false; |
910 | } | 910 | } |
@@ -968,7 +968,7 @@ namespace OpenSim.Data.SQLite | |||
968 | } | 968 | } |
969 | catch (Exception e) | 969 | catch (Exception e) |
970 | { | 970 | { |
971 | m_log.DebugFormat("[PROFILES_DATA]" + | 971 | m_log.ErrorFormat("[PROFILES_DATA]" + |
972 | ": GetAvatarNotes exception {0}", e.Message); | 972 | ": GetAvatarNotes exception {0}", e.Message); |
973 | } | 973 | } |
974 | return data; | 974 | return data; |