Skip to content

Commit

Permalink
Keeping PII out of production logs (#3435)
Browse files Browse the repository at this point in the history
* MVI Error logging in Claims

* rubocop fix

* Keeping PII out of production
  • Loading branch information
bastosmichael authored Oct 16, 2019
1 parent 0308aad commit 79f05c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def verify_mvi
unless target_veteran.mvi_record?
log_message_to_sentry('MVIError in claims',
:warning,
body: target_veteran.inspect)
body: target_veteran.mvi&.response&.error&.inspect)
render json: { errors: [{ detail: 'MVI user not found' }] },
status: :not_found
end
Expand Down

0 comments on commit 79f05c1

Please sign in to comment.