Skip to content

Enhance logging and error handling in data generator#130

Merged
StuartFerguson merged 1 commit intomasterfrom
task/#128_settlement_retry
May 2, 2025
Merged

Enhance logging and error handling in data generator#130
StuartFerguson merged 1 commit intomasterfrom
task/#128_settlement_retry

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

  • Introduced ConsoleLogger for improved logging capabilities.
  • Updated Program.cs to utilize new logging and handle async results more robustly.
  • Refactored TransactionDataGeneratorService to return results wrapped in a Result type for better error handling.
  • Modified Jobs class to align with new result handling and ensure proper logging of failures.
  • Updated package references to newer versions for compatibility and potential feature enhancements.
  • Adjusted date range logic for transaction generation in Program.cs.
  • Replaced direct list manipulations with result checks to enhance code robustness.

Fixes #128

- Introduced `ConsoleLogger` for improved logging capabilities.
- Updated `Program.cs` to utilize new logging and handle async results more robustly.
- Refactored `TransactionDataGeneratorService` to return results wrapped in a `Result` type for better error handling.
- Modified `Jobs` class to align with new result handling and ensure proper logging of failures.
- Updated package references to newer versions for compatibility and potential feature enhancements.
- Adjusted date range logic for transaction generation in `Program.cs`.
- Replaced direct list manipulations with result checks to enhance code robustness.
@StuartFerguson StuartFerguson added the enhancement New feature or request label May 2, 2025
@StuartFerguson StuartFerguson merged commit b1b945a into master May 2, 2025
9 checks passed
@github-actions github-actions Bot deleted the task/#128_settlement_retry branch July 2, 2025 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Settlement Job needs to incorporate a retry mechanism

1 participant