diff --git a/Libraries/Core/Services/BotGenerationCacheService.cs b/Libraries/Core/Services/BotGenerationCacheService.cs index c64ccfd6..c5fa329f 100644 --- a/Libraries/Core/Services/BotGenerationCacheService.cs +++ b/Libraries/Core/Services/BotGenerationCacheService.cs @@ -48,9 +48,9 @@ public class BotGenerationCacheService( { if (bots.Count > 0) { - return bots.PopFirst(); try { + return bots.PopFirst(); } catch (Exception _) {