Skip to content

delayUntilReady error handling bug #1460

@epsilonmb

Description

@epsilonmb

when cluster connection is not ready, async call to pipeline.exec throws "callback is not a function" from below code.

built/pipeline.js line 221
this.redis.delayUntilReady((err) => {
if (err) {
callback(err); -> thrown from here, when using promise, callback is undefined
return;
}
this.exec(callback);
});

built/autoPipelining.js built/transaction.js both rejects when delayUntilReady fails

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions