From e0fdefa28e143fdc47cf4258612accc8422456e3 Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Thu, 15 Oct 2020 12:36:14 -0400 Subject: [PATCH] Fix to allow card cage creation loop to continue even if a previous card encountered an issue --- .../Crestron IO/Cards/InternalCardCageController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Crestron IO/Cards/InternalCardCageController.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Crestron IO/Cards/InternalCardCageController.cs index b362a78d..964edd5c 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Crestron IO/Cards/InternalCardCageController.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Crestron IO/Cards/InternalCardCageController.cs @@ -73,21 +73,21 @@ namespace PepperDash.Essentials.Core.CrestronIO.Cards string cardType; if (!_config.Cards.TryGetValue(i, out cardType)) { - Debug.Console(1, this, "No card found for slot {0}", i); + Debug.Console(0, this, "No card found for slot {0}", i); continue; } if (String.IsNullOrEmpty(cardType)) { Debug.Console(0, this, "No card specified for slot {0}", i); - return; + continue; } Func cardBuilder; if (!_cardDict.TryGetValue(cardType.ToLower(), out cardBuilder)) { Debug.Console(0, "Unable to find factory for 3-Series card type {0}.", cardType); - return; + continue; } try