From 77ebf36ab72075f649198e922c6ef9e9a9c088d3 Mon Sep 17 00:00:00 2001 From: Samuel Chantaraud <32103189+schantaraud@users.noreply.github.com> Date: Wed, 26 Apr 2023 15:55:07 -0400 Subject: [PATCH] Fixed error handling in putObject --- src/main/minio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/minio.js b/src/main/minio.js index a22d9ce6..08b3e9ed 100644 --- a/src/main/minio.js +++ b/src/main/minio.js @@ -1211,7 +1211,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.