Browse Source

Remove "catch everything and silently ignore" block

Ivan Savenko 1 year ago
parent
commit
ced0bbe526
1 changed files with 0 additions and 4 deletions
  1. 0 4
      AI/BattleAI/BattleAI.cpp

+ 0 - 4
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)
 	{