Skip to content

Getting a deprecation warning printed to stdout #755

Open
@TonCherAmi

Description

@TonCherAmi

The warning looks like this:

INFO: Received unexpected 'rel' attribute in 'Link' header: "deprecation"

Seems to be coming from here:

"INFO: Received unexpected 'rel' attribute in 'Link' header: \"{}\"",

Affected code:

    let page = octocrab
        .search()
        .issues_and_pull_requests(&format!(
            "is:pr repo:{}/{} head:{}",
            GITHUB_ORG,
            GitHubRepo::Mono.name(),
            branch
        ))
        .send()
        .await?;

This is super annoying because this directly affects users and there's no way to suppress it 😞

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions