Skip to content

Error body from upload rejection is not reported #2

Description

@RobinDaugherty

In TUSExecutor.upload(forChunks chunks: [Data], withUpload upload: TUSUpload, atPosition position: Int)

In the callback from uploadTask, when a 4xx/5xx response is returned, the body is not parsed and the delegate is never informed.

It doesn't retry the failed chunk, and it doesn't move to the next upload. It just stops. With no error logged and no delegate being informed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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