From ced0bbe52624bff7b2e9aede00466443e23dde92 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Tue, 16 Apr 2024 18:54:51 +0300 Subject: [PATCH] Remove "catch everything and silently ignore" block --- AI/BattleAI/BattleAI.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/AI/BattleAI/BattleAI.cpp b/AI/BattleAI/BattleAI.cpp index 37ba4f270..41a885b89 100644 --- a/AI/BattleAI/BattleAI.cpp +++ b/AI/BattleAI/BattleAI.cpp @@ -166,10 +166,6 @@ void CBattleAI::activeStack(const BattleID & battleID, const CStack * stack ) { throw; } - catch(std::exception &e) - { - logAi->error("Exception occurred in %s %s",__FUNCTION__, e.what()); - } if(result.actionType == EActionType::DEFEND) {