Skip to content

异常包装 #1482

Closed
Closed
@yuexiang1988

Description

@yuexiang1988

WxMaServiceImpl#execute方法内捕获executeInternal方法抛出的WxErrorException异常,然后抛出RuntimeException("微信服务端异常,超出重试次数"),这样拿不到调用微信返回的错误码。业务有需要根据微信返回码做逻辑处理的。可以把返回码暴露给外层吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions