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

client.execute does not check for upload errors #35

Open
MasseGuillaume opened this issue Nov 9, 2018 · 1 comment
Open

client.execute does not check for upload errors #35

MasseGuillaume opened this issue Nov 9, 2018 · 1 comment
Labels

Comments

@MasseGuillaume
Copy link

MasseGuillaume commented Nov 9, 2018

When you run client.execute, you don't check for errors. The result object is Class: Google::APIClient::Result[https://www.rubydoc.info/gems/google-api-client/0.8.2/Google/APIClient/Result]. This plugin will delete the log and silently fail.

For example, if you give a service account without storage.objects.create

metadata_insert_result.error_message would report:

<service account> does not have storage.objects.create access to <bucket name>.

@georgi-lozev
Copy link

Any updates on this one ?
Do you plan to fix it in future release or are you open for contributions ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants