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

TypeError: exceptions must be old-style classes or derived from BaseException, not str #2595

Closed
elicwhite opened this issue Aug 4, 2016 · 2 comments

Comments

@elicwhite
Copy link
Contributor

https://app.getsentry.com/pokemongof/pokemongo-bot/issues/147509034/

TypeError: exceptions must be old-style classes or derived from BaseException, not str
  File "pokecli.py", line 490, in <module>
    main()
  File "pokecli.py", line 122, in main
    raise "Google Maps API key over requests limit."

TypeError: exceptions must be old-style classes or derived from BaseException, not str
@mjmadsen
Copy link
Contributor

mjmadsen commented Aug 4, 2016

"Google Maps API key over requests limit." The Google Maps API free keys have limited use (per month?).

Though, the exception wasn't implemented correctly in the last dev commit.

@elicwhite
Copy link
Contributor Author

Yeah, it needs to be an Exception(). Happy to accept a PR. :)

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

3 participants