Skip to content

Terrible error message with invalid endpoint #4683

@coryan

Description

@coryan

If you initialize a client with an endpoint that lacks the scheme, you get this error:

client libraries only create builders where `try_clone()` succeeds

The underlying RequestBuilder is in an error state:

RequestBuilder { error: reqwest::Error { kind: Builder, source: RelativeUrlWithoutBase } }

We should return something more meaningful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions