Skip to content

GetDocumentAsync and GetReceiptAsync don't throw SignhostRestApiClientExceptions #44

@WouterJanson

Description

@WouterJanson

GetDocumentAsync and GetReceiptAsync don't throw a SignhostRestApiClientException upon faulty calls, instead they throw a 'normal' HttpRequestException.

The retry policy for the upcoming SignhostClientLibrary.Polly package won't work in these cases because they only retry on a SignhostRestApiClientException.

Because EnsureSignhostSuccessStatusCodeAsync() isn't called on those methods. Fixing this would however be a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions