Skip to content

LG-7132: Make the date parsing in TrueID Response more robust.#6683

Merged
solipet merged 7 commits intomainfrom
dprice-lg-7132-date-parsing-bug
Aug 3, 2022
Merged

LG-7132: Make the date parsing in TrueID Response more robust.#6683
solipet merged 7 commits intomainfrom
dprice-lg-7132-date-parsing-bug

Conversation

@solipet
Copy link
Contributor

@solipet solipet commented Aug 3, 2022

We saw some 500s being returned caused by a DateInvalid error being thrown. This PR ensures that the dates being parsed are valid, or logs a message when they aren't (not including the date since it's PII).

@solipet solipet requested review from a team and mitchellhenke August 3, 2022 02:12
changelog: Bug Fixes, Document Authentication, Don't throw an exception
on a bad DOB/Expiraton.
@solipet solipet force-pushed the dprice-lg-7132-date-parsing-bug branch from ed17302 to f69ba93 Compare August 3, 2022 02:13
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for making those changes! These comments are optional but I think might make things clearer about what we want

@solipet solipet merged commit a833294 into main Aug 3, 2022
@solipet solipet deleted the dprice-lg-7132-date-parsing-bug branch August 3, 2022 17:37
@mitchellhenke mitchellhenke mentioned this pull request Aug 3, 2022
@solipet solipet mentioned this pull request Aug 9, 2022
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.

4 participants