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

youtube: update error handling #23

Merged
merged 2 commits into from
Jul 3, 2020
Merged

youtube: update error handling #23

merged 2 commits into from
Jul 3, 2020

Conversation

dgw
Copy link
Member

@dgw dgw commented Jul 2, 2020

I'll test this sometime tomorrow, I hope (never know if I'll have time for literally anything on Thursdays, but that's my goal). Or, since this is meant to fix #22, maybe @cottongin will get to it first. I'd love verification from the original issue reporter anyway!

Bonus: At some point the apiclient import name is going to vanish, so I just switched to the long-available primary name googleapiclient instead. (Our required version range starts well after when the new name was added.)

@dgw dgw added the bugfix label Jul 2, 2020
@dgw dgw added this to the 0.3.1 milestone Jul 2, 2020
dgw added 2 commits July 2, 2020 21:12
Bonus: At some point the `apiclient` import name is going to vanish, so
I just switched to the long-available primary name `googleapiclient`
instead. (Our required version range starts well after when the new name
was added.)
@dgw dgw force-pushed the silence-api-url-on-error branch from a708ec3 to 1503187 Compare July 3, 2020 02:48
@dgw dgw marked this pull request as ready for review July 3, 2020 02:49
@dgw
Copy link
Member Author

dgw commented Jul 3, 2020

Successfully tested both setup phase and runtime phase, even though I'm not sure how one would get past setup and into runtime if the API key isn't valid. But if someone somehow does, the code will handle it.

Copy link

@cottongin cottongin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@dgw dgw merged commit e92bdf3 into master Jul 3, 2020
@dgw dgw deleted the silence-api-url-on-error branch July 3, 2020 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error message replies with API keys in URL
2 participants