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

Error when referencing an unknown error_type: body is undefined #15134

Open
AdamKing0126 opened this issue Jan 16, 2024 · 0 comments
Open

Error when referencing an unknown error_type: body is undefined #15134

AdamKing0126 opened this issue Jan 16, 2024 · 0 comments
Assignees

Comments

@AdamKing0126
Copy link
Contributor

AdamKing0126 commented Jan 16, 2024

Original Issue

In #15075 I logged the response.body in an attempt to assist further debugging efforts, but unfortunately body is not defined, and is now causing its own error.

This is because EVSS::GiBillStatus::GiBillStatusResponse does not expose the body of the response that is passed in as an initialization argument.

In order to determine the cause of these errors, modify the GiBillStatusResponse to include a body argument which is linked to the response.body

@AdamKing0126 AdamKing0126 self-assigned this Jan 16, 2024
AdamKing0126 added a commit that referenced this issue Jan 16, 2024
See #15075 and department-of-veterans-affairs/va.gov-team#65182 for the
Original PR and Github Issue, respectively.

This PR exposes a `body` attribute on the `GiBillStatusResponse` object, so it can be logged out as intended in the original PR.
AdamKing0126 added a commit that referenced this issue Feb 1, 2024
* #15134

See #15075 and department-of-veterans-affairs/va.gov-team#65182 for the
Original PR and Github Issue, respectively.

This PR exposes a `body` attribute on the `GiBillStatusResponse` object, so it can be logged out as intended in the original PR.
stevenjcumming pushed a commit that referenced this issue Feb 21, 2024
* #15134

See #15075 and department-of-veterans-affairs/va.gov-team#65182 for the
Original PR and Github Issue, respectively.

This PR exposes a `body` attribute on the `GiBillStatusResponse` object, so it can be logged out as intended in the original PR.
stevenjcumming pushed a commit that referenced this issue Feb 21, 2024
* #15134

See #15075 and department-of-veterans-affairs/va.gov-team#65182 for the
Original PR and Github Issue, respectively.

This PR exposes a `body` attribute on the `GiBillStatusResponse` object, so it can be logged out as intended in the original PR.
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

No branches or pull requests

1 participant