ipu-ranklist icon indicating copy to clipboard operation
ipu-ranklist copied to clipboard

Improving Error Handling & Logging

Open ankushgarg1998 opened this issue 3 years ago • 0 comments

2xx RESPONSE

  • Encryption Enabled
    • { res: encryptedResponse }
  • Encryption Disabled
    • { res : actualControllerResponse }

<caching the entire object { res: x/Y }>

ANY OTHER RESPONSE

  • No Encryption
  • No Caching
  • Standard ErrorResponse Object {code: '', message: '', reason: '', ... }

LOGS

  • Logging library
  • INFO, WARN & ERROR level logs

ankushgarg1998 avatar Jan 26 '22 06:01 ankushgarg1998