message: Handle possible exceptions when handling areas
diff: @@ -69,9 +69,23 @@ EU4World::area::area(std::istream& theStream)
  while (token && (*token != "}"))
  {
  if ((token->find('=') == std::string::npos) && (token->find('{') == std::string::npos))
  + {
  + try
  {
  provinces.insert(std::stoi(*token));
  }
  + catch (const std::exception& e)
  + {
  + if (!token)
  + {
  + LOG(LogLevel::Warning) << "Missing token when parsing areas";
  + }
  + else
  + {
  + LOG(LogLevel::Warning) << "Unexpected token when parsing areas: " << *token;
  + }
  + }
  + }
  token = getNextToken(theStream);
  }
  }
  \ No newline at end of file
  