hyperswitch
hyperswitch copied to clipboard
chore: add `.attach_printable` for `InternalServerError`
Type of Change
- [x] Enhancement
Description
This task involves adding .attach_printable
and .attach_printable_lazy
for InternalServerError
to add more more context while debugging them via logs
Additional Changes
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
Motivation and Context
NA
How did you test it?
Checklist
- [x] I formatted the code
cargo +nightly fmt --all
- [x] I addressed lints thrown by
cargo clippy
- [x] I reviewed submitted code
- [ ] I added unit tests for my changes where possible
- [ ] I added a CHANGELOG entry if applicable