From 2aa4deb20ae1db5a97c1626faaca73358670dc6f Mon Sep 17 00:00:00 2001 From: Scoppio Date: Sun, 1 Dec 2024 22:28:46 -0300 Subject: [PATCH] fix: one logger --- MekHQ/src/mekhq/campaign/force/StrategicFormation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MekHQ/src/mekhq/campaign/force/StrategicFormation.java b/MekHQ/src/mekhq/campaign/force/StrategicFormation.java index 833b3f5e05..a1ca8f78e4 100644 --- a/MekHQ/src/mekhq/campaign/force/StrategicFormation.java +++ b/MekHQ/src/mekhq/campaign/force/StrategicFormation.java @@ -611,7 +611,7 @@ public static double calculateTotalWeight(Campaign campaign, int forceId) { weight += entity.getWeight(); } } catch (Exception exception) { - logger.error(String.format("Failed to parse unit ID %s: %s", forceId, exception)); + logger.error("Failed to parse unit ID {}: {}", forceId, exception); } }