Skip to content

[BUG]: Fix missing return when using errors.As #2957

Closed

Description

@stevehipwell

Expected Behavior

When an error is returned from the GitHub API it should result in a provider error unless the behaviour is explicitly expected and coded for.

Actual Behavior

There are code paths in the provider where an error is checked for nil and then only handled if it's a specific type as there is no catch-all return err.

Terraform Version

n/a

Affected Resource(s)

n/a

Terraform Configuration Files

Steps to Reproduce

No response

Debug Output

Panic Output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    Type: Bug
    on Dec 2, 2025
  2. self-assigned this
    on Dec 3, 2025
  3. moved this from In Progress to In Review in Terraform Provideron Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: Bug

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions