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

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

Open
nofeet opened this issue May 22, 2018 · 0 comments
Open

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

nofeet opened this issue May 22, 2018 · 0 comments

Comments

@nofeet
Copy link

nofeet commented May 22, 2018

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.

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

No branches or pull requests

1 participant