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

EHPR-184 | Logging API Validations #123

Merged
merged 4 commits into from
Jan 5, 2022
Merged

Conversation

arranfw
Copy link
Contributor

@arranfw arranfw commented Jan 4, 2022

  • Fix error filter logging errors twice
  • Fix error filter private keys implementation
  • Fix LHA array validator naming
  • Filter payload from error so we don't log PII
  • Fix error logging parameters
  • Use defaultMessage + exceptionFactory to expose validation error messages

image

I really hamfisted through this so I'm expecting some comments on how to clean this up a bit :\ also the response is heavily nested arrays which I think checks out because of the nested nature of our data, but maybe we can improve that as well

Copy link
Collaborator

@dbayly-freshworks dbayly-freshworks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@arranfw arranfw merged commit d94ee13 into main Jan 5, 2022
@arranfw arranfw deleted the EHPR-184-Logging-API-Validations branch January 5, 2022 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants