From 8803ae227414c6b4e41681235db88275a53f164e Mon Sep 17 00:00:00 2001 From: mschill Date: Wed, 22 Jan 2025 10:35:44 -0500 Subject: [PATCH] B2025-004 Remove dependency on stored procedure (GetDisplayTabdata). -- Found during testing that needed a few additional items that needed to not create hard errors --- PROMS/VEPROMS.CSLA.Library/Generated/Item.cs | 6 ++---- PROMS/VEPROMS.CSLA.Library/Minimal/UserSettings.cs | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Generated/Item.cs b/PROMS/VEPROMS.CSLA.Library/Generated/Item.cs index 8abf1fdd..225453f4 100644 --- a/PROMS/VEPROMS.CSLA.Library/Generated/Item.cs +++ b/PROMS/VEPROMS.CSLA.Library/Generated/Item.cs @@ -1148,8 +1148,7 @@ namespace VEPROMS.CSLA.Library } catch (Exception ex) { - //if (_MyLog.IsErrorEnabled) _MyLog.Error("ItemExt.DeactivateStateDisplayTabTmp", ex); - throw new DbCslaException("ItemExt.DeactivateStateDisplayTabTmp", ex); + Database.LogException("ItemExt.DeactivateStateDisplayTabTmp", ex); } } @@ -1176,8 +1175,7 @@ namespace VEPROMS.CSLA.Library } catch (Exception ex) { - //if (_MyLog.IsErrorEnabled) _MyLog.Error("ItemExt.AddDisplayTabsState", ex); - throw new DbCslaException("ItemExt.AddDisplayTabsState", ex); + Database.LogException("ItemExt.AddDisplayTabsState", ex); } } } diff --git a/PROMS/VEPROMS.CSLA.Library/Minimal/UserSettings.cs b/PROMS/VEPROMS.CSLA.Library/Minimal/UserSettings.cs index 3c93d77f..80e56972 100644 --- a/PROMS/VEPROMS.CSLA.Library/Minimal/UserSettings.cs +++ b/PROMS/VEPROMS.CSLA.Library/Minimal/UserSettings.cs @@ -48,7 +48,6 @@ namespace VEPROMS.CSLA.Library catch (Exception ex) { Database.LogException("UserSettings_GetData", ex); - throw new DbCslaException("UserSettings_GetData", ex); } } -- 2.47.2