MegaMek / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.org
134 stars 171 forks source link

Change Logger Level from Error to Warn for SPA Loader #4893

Closed IllianiCBT closed 1 month ago

IllianiCBT commented 1 month ago

Adjusted the logging level from error to warn when restoring an SPA fails. This avoids an error dialog appearing whenever a character with a no-longer existing SPA is loaded. Instead, it will report to the log and advance to the next SPA.

Closes #4890

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 10.45%. Comparing base (caef4d9) to head (876131a). Report is 17 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4893 +/- ## ============================================ - Coverage 10.46% 10.45% -0.01% + Complexity 6017 6008 -9 ============================================ Files 952 952 Lines 132755 132755 Branches 19308 19308 ============================================ - Hits 13894 13884 -10 - Misses 117516 117521 +5 - Partials 1345 1350 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.