-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Strip excess custom exceptions from 'gcloud.streaming' #1232
Strip excess custom exceptions from 'gcloud.streaming' #1232
Conversation
@@ -647,11 +643,11 @@ def from_file(cls, filename, mime_type=None, auto_transfer=True, **kwds): | |||
""" | |||
path = os.path.expanduser(filename) | |||
if not os.path.exists(path): | |||
raise NotFoundError('Could not find file %s' % path) | |||
raise ValueError('Could not find file %s' % path) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This doesn't "move the remainder to |
The residue are all tangled up with fixing #1223. If there are any left after that one, then they can move. |
I suggest filing another bug then (or leaving that one open and renaming it) so it doesn't slip our minds. |
#1234 captures the final cleanup. |
Good deal |
Allow 'natural' OSError to propagate. Addresses: #1232 (comment)
LGTM pending Travis |
…tom_exceptions Strip excess custom exceptions from 'gcloud.streaming'
Closes #1227