Skip to content

【bug】未捕获异常 packages/rpc/src/common/proxy/http-proxy-creator.ts #219

@wmlgl

Description

@wmlgl

在函数createChannel中executeTask return的是一个promise,但未捕获异常,导致异常中断,请求无法结束。
截图发失败了,基本原因是createTask返回了async函数,在调用executeTask 时调用了meta.task(), 这是一个async函数,然后没有任何地方有处理异常。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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