Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

raise error if organization can not be validated #22

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

fmasuhr
Copy link
Member

@fmasuhr fmasuhr commented Jun 30, 2020

Currently the requests silently fails and leads to a misleading error message This resource can only be used in the context of an organization, "ORGANIZATION" is a user..
To make it more visible when e.g. the request failed due to throttles it will return an error now.

This was introduced here https://github.com/terraform-providers/terraform-provider-github/pull/464

@fmasuhr fmasuhr requested review from jansiwy and jtsaito June 30, 2020 15:46
@fmasuhr fmasuhr self-assigned this Jun 30, 2020
@fmasuhr
Copy link
Member Author

fmasuhr commented Jun 30, 2020

@fmasuhr fmasuhr force-pushed the is-organization-error branch from 1b75883 to 02a0eae Compare June 30, 2020 16:15
@fmasuhr fmasuhr merged commit 7cf8b58 into master Jul 1, 2020
@fmasuhr fmasuhr deleted the is-organization-error branch July 1, 2020 09:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants