Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handled Exception when Fetching Force by ID in StratconPanel #5208

Merged

Conversation

IllianiCBT
Copy link
Collaborator

@IllianiCBT IllianiCBT commented Nov 18, 2024

Added a try-catch block to handle errors when fetching a force by its ID in StratconPanel.java. This prevents the application from attempting to draw a force on the map if it fails to fetch the force data and logs an error message accordingly.

Closes #5203

Added a try-catch block to handle errors when fetching a force by its ID in `StratconPanel.java`. This prevents the application from attempting to draw a force on the map if it fails to fetch the force data and logs an error message accordingly.
@IllianiCBT IllianiCBT added Bug StratCon Bugs relating strictly to StratCon labels Nov 18, 2024
@IllianiCBT IllianiCBT self-assigned this Nov 18, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.52%. Comparing base (bce5f63) to head (c72bf65).
Report is 9 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5208      +/-   ##
============================================
- Coverage     10.52%   10.52%   -0.01%     
- Complexity     6047     6048       +1     
============================================
  Files           957      957              
  Lines        134523   134530       +7     
  Branches      19545    19545              
============================================
  Hits          14154    14154              
- Misses       119018   119023       +5     
- Partials       1351     1353       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@HammerGS HammerGS merged commit 9c1fbc1 into MegaMek:master Nov 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug StratCon Bugs relating strictly to StratCon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MEKHQ 50.01] Issue with clicking Area of Operations after completing the first scenario
3 participants