Skip to content

in node 16, stream to multipart upload is broken #7

@geetee24

Description

@geetee24

in 2.5.3 under node 16.....
S3WriteStream.prototype.end = function (chunk, encoding, cb) {

    this.multiPartManager.complete().then(function () {
        self.bytesWritten = self.multiPartManager.bytesWritten;
        self.emit('finish');
        execCb(cb);
    }, function (reason) {
        self.bytesWritten = self.multiPartManager.bytesWritten;
        self.emit('error', reason);
        execCb(cb);
    });

causes crash with error message: Invalid lambda response received: Lambda returned <class 'NoneType'> instead of dict

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions