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

Shows error when proxy encounter exception #191

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

astrozzc
Copy link
Contributor

When proxy returns error, it was not considered. e.g. when the threre is connection
error, the program just shows 200 to customer.

Copy link
Contributor

@coderbydesign coderbydesign left a comment

Choose a reason for hiding this comment

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

One minor comment on the spec, but otherwise this looks good! 👍

'source': 'principals'
}]})
def test_add_group_principals_failure(self, mock_request):
"""Test that adding a principal to a group returns successfully."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably want to update this doc comment to reflect failure?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! Will update

When proxy returns error, it was not considered. e.g. when the threre is connection
error, the program just shows 200 to customer.
Copy link
Contributor

@wcmitchell wcmitchell left a comment

Choose a reason for hiding this comment

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

👍

@astrozzc astrozzc merged commit 76afbd9 into RedHatInsights:master Jan 20, 2020
@astrozzc astrozzc deleted the show_error branch January 20, 2020 18:08
lpichler pushed a commit that referenced this pull request Nov 8, 2023
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.

3 participants