Skip to content

NameError when Looker API call returns with status 4xx #2

Description

@nofeet

Whenever I make a Looker API call that returns with a 4xx status, I get an error like this:

NameError: global name 'StatRequestError' is not defined

That's because the API request methods are not using the custom exceptions defined in looker_api.py.

I created a pull request to fix this: #1. I also removed some code that appears to call getstat.com's API.

Let me know if this works for you. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions