Skip to content

Commit

Permalink
Fixed error handling in putObject (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
schantaraud authored Apr 26, 2023
1 parent 14474b5 commit 75ed013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/minio.js
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ export class Client {
// to the specified bucket and object automatically.
let uploader = new ObjectUploader(this, bucketName, objectName, size, metaData, callback)
// stream => chunker => uploader
stream.pipe(chunker).pipe(uploader)
pipesetup(stream, chunker, uploader)
}

// Copy the object.
Expand Down

0 comments on commit 75ed013

Please sign in to comment.