From 74cf57a05dc7eb140425e8d76f78fef0e7535b01 Mon Sep 17 00:00:00 2001 From: Dan Van Atta Date: Tue, 23 Jul 2024 11:55:29 -0700 Subject: [PATCH] Game client warnings: Update warning for "found broken maps" to be silent. (#12755) The pop-up on every game launch without a button to delete the map is annoying.. --- .../org/triplea/map/description/file/MapDescriptionYaml.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game-app/map-data/src/main/java/org/triplea/map/description/file/MapDescriptionYaml.java b/game-app/map-data/src/main/java/org/triplea/map/description/file/MapDescriptionYaml.java index 42f2191b2e..dc59526f7d 100644 --- a/game-app/map-data/src/main/java/org/triplea/map/description/file/MapDescriptionYaml.java +++ b/game-app/map-data/src/main/java/org/triplea/map/description/file/MapDescriptionYaml.java @@ -145,7 +145,10 @@ boolean isValid(final Path sourceFile) { } if (!validationErrors.isEmpty()) { - log.warn("Error found in: {}, errors: {}", sourceFile.toAbsolutePath(), validationErrors); + log.info( + "Warning: invalid map found installed: {}, errors: {}", + sourceFile.toAbsolutePath(), + validationErrors); } return validationErrors.isEmpty();