Skip to content

Conversation

@StuartFerguson
Copy link
Member

  • Added a new test method in MerchantDomainServiceTests.cs to verify the calculated statement date from a deserialized MerchantFeeSettledEvent.
  • Updated MerchantStatementDomainEventHandler.cs to log critical errors when sending commands and ensure proper error handling.
  • Introduced checks in MerchantStatementDomainService.cs to return critical errors for invalid statement dates, improving robustness against erroneous date generation.

- Added a new test method in `MerchantDomainServiceTests.cs` to verify the calculated statement date from a deserialized `MerchantFeeSettledEvent`.
- Updated `MerchantStatementDomainEventHandler.cs` to log critical errors when sending commands and ensure proper error handling.
- Introduced checks in `MerchantStatementDomainService.cs` to return critical errors for invalid statement dates, improving robustness against erroneous date generation.
@StuartFerguson StuartFerguson added the bug Bugs and error-prone code label Apr 25, 2025
@StuartFerguson StuartFerguson linked an issue Apr 25, 2025 that may be closed by this pull request
@StuartFerguson StuartFerguson merged commit 6d7b433 into master Apr 25, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugs and error-prone code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Statemet Date Issues

2 participants