Skip to content

Commit

Permalink
PR comments and suggestion fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-munro committed Jun 20, 2023
1 parent 7bb1e15 commit 67bb92d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ public DownloadSegment call() {
.setException(
new StorageException(
0,
"Connection Closed Prematurely read "
"Unexpected end of stream, read "
+ bytesCopied
+ " expected "
+ bytesExpected))
+ bytesExpected
+ " from object "
+ originalBlob.getBlobId().toGsUtilUriWithGeneration()))
.build();
}
} catch (Exception e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ public DownloadResult call() {
.setException(
new StorageException(
0,
"Connection Closed Prematurely read "
"Unexpected end of stream, read "
+ bytesCopied
+ " expected "
+ originalBlob.getSize()))
+ originalBlob.getSize()
+ " from object "
+ originalBlob.getBlobId().toGsUtilUriWithGeneration()))
.build();
}
}
Expand Down

0 comments on commit 67bb92d

Please sign in to comment.