Skip to content

WebhooksApi.constructEvent(...) swallows underlying exception cause #261

@richardstephens

Description

@richardstephens

WebhooksApi.constructEvent(...)

The same exception will be thrown in the event of either a JSON processing error or an actual signature validation failure. We'd like to handle these differently but prefer not ot work out which is which by string matching.

The public SignatureException(String message, Throwable cause) constructor should be used instead, to allow us to determine the underlying exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions