8000 Propagate *http.Response when encountering a *url.Error? · Issue #3362 · google/go-github · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Propagate *http.Response when encountering a *url.Error? #3362
Closed
@akshayravikumar

Description

@akshayravikumar

Why does this code return nil for the response? I'm getting 404 errors (which can be permissions errors) but I'm not finding a good way to programmatically get the status code directly from the error object.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0