Skip to content

Do not throw exceptions in WriteObject().#2400

Merged
coryan merged 1 commit intogoogleapis:masterfrom
coryan:do-not-throw-in-write-object
Apr 4, 2019
Merged

Do not throw exceptions in WriteObject().#2400
coryan merged 1 commit intogoogleapis:masterfrom
coryan:do-not-throw-in-write-object

Conversation

@coryan
Copy link
Copy Markdown
Contributor

@coryan coryan commented Apr 4, 2019

We were still throwing an exception in WriteObject() for some types of
errors. This fixes that problem and adds integration tests to verify we
do not throw exceptions in other media operations (downloads, uploads,
etc.)

This fixes #2374.


This change is Reviewable

We were still throwing an exception in WriteObject() for some types of
errors. This fixes that problem and adds integration tests to verify we
do not throw exceptions in other media operations (downloads, uploads,
etc.)
@coryan coryan added the api: storage Issues related to the Cloud Storage API. label Apr 4, 2019
@coryan coryan requested review from devbww and devjgm April 4, 2019 16:19
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 4, 2019
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 4, 2019

Codecov Report

Merging #2400 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2400      +/-   ##
==========================================
+ Coverage   92.71%   92.72%   +<.01%     
==========================================
  Files         309      309              
  Lines       19305    19314       +9     
==========================================
+ Hits        17899    17908       +9     
  Misses       1406     1406
Impacted Files Coverage Δ
google/cloud/storage/client.h 100% <100%> (ø) ⬆️
google/cloud/storage/client.cc 91.51% <100%> (+0.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f5d2246...80079aa. Read the comment docs.

@coryan coryan merged commit 01cb07e into googleapis:master Apr 4, 2019
@coryan coryan deleted the do-not-throw-in-write-object branch April 4, 2019 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Client::WriteObject() still raises errors in some cases.

4 participants