Skip to content

Promise.mapSeries 异常不会被 catch 捕获 #5

@a573367014

Description

@a573367014
Promise.mapSeries([0, 1, 2], (v) => {
    if (v > 0) throw new Error('111');
    return v;
}).catch(() => {
    // 没触发
    debugger;
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions