message: Instead of crashing on onknown unit types, log them and continue
diff: @@ -453,13 +453,20 @@ void HoI4Country::convertNavy(const map<string, HoI4UnitMap>& unitMap)
  {
  string type = regiment->getType();
  + if (unitMap.count(type) > 0)
  + {
  HoI4UnitMap unitInfo = unitMap.at(type);
  if (unitInfo.getCategory() == "naval") {
  // Ships get mapped
  HoI4Ship newShip(regiment->getName(),unitInfo.getType(),unitInfo.getEquipment(), tag);
  ships.push_back(newShip);
  - };
  + }
  + }
  + else
  + {
  + LOG(LogLevel::Warning) << "Unknown unit type: " << type;
  + }
  }
  }
  @@ -481,12 +488,19 @@ void HoI4Country::convertConvoys(const map<string, HoI4UnitMap>& unitMap)
  {
  string type = regiment->getType();
  + if (unitMap.count(type) > 0)
  + {
  HoI4UnitMap unitInfo = unitMap.at(type);
  if (unitInfo.getCategory() == "convoy") {
  // Convoys get placed in national stockpile
  convoys = convoys + 1;
  - };
  + }
  + }
  + else
  + {
  + LOG(LogLevel::Warning) << "Unknown unit type: " << type;
  + }
  }
  }
  }
  @@ -499,6 +513,8 @@ void HoI4Country::convertAirforce(const map<string, HoI4UnitMap>& unitMap)
  {
  string type = regiment->getType();
  + if (unitMap.count(type) > 0)
  + {
  HoI4UnitMap unitInfo = unitMap.at(type);
  if (unitInfo.getCategory() == "air") {
  @@ -506,6 +522,11 @@ void HoI4Country::convertAirforce(const map<string, HoI4UnitMap>& unitMap)
  equipmentStockpile[unitInfo.getEquipment()] = equipmentStockpile[unitInfo.getEquipment()] + unitInfo.getSize();
  }
  }
  + else
  + {
  + LOG(LogLevel::Warning) << "Unknown unit type: " << type;
  + }
  + }
  }
  }
  @@ -519,6 +540,8 @@ void HoI4Country::convertArmyDivisions(const map<string, HoI4UnitMap>& unitMap,
  {
  string type = regiment->getType();
  + if (unitMap.count(type) > 0)
  + {
  HoI4UnitMap unitInfo = unitMap.at(type);
  if (unitInfo.getCategory() == "land") {
  @@ -526,6 +549,11 @@ void HoI4Country::convertArmyDivisions(const map<string, HoI4UnitMap>& unitMap,
  BattalionsAndCompanies[unitInfo.getType()] = BattalionsAndCompanies[unitInfo.getType()] + unitInfo.getSize();
  }
  }
  + else
  + {
  + LOG(LogLevel::Warning) << "Unknown unit type: " << type;
  + }
  + }
  }
  for (auto& divTemplate: divisionTemplates)
  