Resolves ENG-1840. It was suggested to use anyhow::ensure! macro instead of bail! where possible.
There were only few places, where such replacement was possible, as most of the code use bail! with if let which cannot be easily transformed into ensure!.
Details
Details
- Reviewers
marcin • jon - Commits
- rCOMM1d9460715e6f: [services] Use ensure! macro where possible
- Backup service container builds
- Service integration tests pass
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable