Skip to content

Consumer 级别的 error handler #8

@kenyonduan

Description

@kenyonduan
rescue_from Excon::Error::Forbidden, # 拒绝访问
              Excon::Error::Unauthorized, # 认证失败
              Peddler::Errors::AccessDenied, # 拒接访问
              Peddler::Errors::InvalidAccessKeyId, # 无效的 Developer Account AccessKeyId
              Peddler::Errors::SignatureDoesNotMatch, # 签名验证失败
              with: :recover_channel_handler

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