Skip to content

Commit

Permalink
fix: one logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Scoppio committed Dec 2, 2024
1 parent b1bb1a6 commit 2aa4deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/campaign/force/StrategicFormation.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 2aa4deb

Please sign in to comment.