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 c6ede75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
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
12 changes: 0 additions & 12 deletions MekHQ/src/mekhq/utilities/MoreObjects.java

This file was deleted.

0 comments on commit c6ede75

Please sign in to comment.