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

fixed few crashes in domain_pastes.py #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fixed few crashes in domain_pastes.py #100

wants to merge 1 commit into from

Conversation

kishorer747-zz
Copy link

@kishorer747-zz kishorer747-zz commented Mar 3, 2017

fixed crash when error is encountered due to non-existent keys (unable to results from google when Custom Search API is not enabled), fixed if condition check in main(), printing correct error message from google response when getting an error.

If user has not enabled Custom Search API from Google Cloud Console, an error is thrown with the link to enable it. That message is printed to console so that user can enable it from there.

… if condition check in main(), printing correct error message from google response when getting an error
upgoingstar added a commit that referenced this pull request Apr 11, 2017
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

Successfully merging this pull request may close these issues.

2 participants