hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

chore: add `.attach_printable` for `InternalServerError`

Open NishantJoshi00 opened this issue 1 year ago • 0 comments

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

NishantJoshi00 avatar Jan 13 '23 06:01 NishantJoshi00