Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust API response content based on configuration for including exception messages #2839

Closed
marevol opened this issue Aug 15, 2024 · 0 comments
Assignees
Milestone

Comments

@marevol
Copy link
Contributor

marevol commented Aug 15, 2024

We need to modify the API response handling to utilize the configuration setting that determines whether exception messages should be included in the API response. Currently, exception messages are always included, but with this change, the API will conditionally include the exception message based on the configuration. If the setting is disabled, the response will contain a generic error message along with a unique error code, enhancing security by avoiding unnecessary exposure of internal details.

@marevol marevol added this to the 14.17.0 milestone Aug 15, 2024
@marevol marevol self-assigned this Aug 15, 2024
marevol added a commit that referenced this issue Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant