temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Hide internal errors from responses to client

Open ychebotarev opened this issue 1 year ago • 0 comments

What changed?

Add an interceptor for frontend service. Interceptor will looks at error messages and replace unknown/internal messages to a common message

Why?

We are exposing/can expose to much of the internal details/customer info in errors. Instead external error will be a simple message, and real error will be logged.

How did you test it?

Add unit test. Build/run tests

Potential risks

N/A

Documentation

N/A

Is hotfix candidate?

No

ychebotarev avatar May 13 '24 22:05 ychebotarev