Skip to content

Show redirected URLs in the progress bar and in error messages#11184

Open
edolstra wants to merge 3 commits intoNixOS:masterfrom
DeterminateSystems:show-redirected-url
Open

Show redirected URLs in the progress bar and in error messages#11184
edolstra wants to merge 3 commits intoNixOS:masterfrom
DeterminateSystems:show-redirected-url

Conversation

@edolstra
Copy link
Copy Markdown
Member

Motivation

It's misleading / not helpful to refer to the original URL, especially in error messages. Fixes #9998.

Context

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@edolstra edolstra requested a review from Ericson2314 as a code owner July 25, 2024 14:22
std::move(response),
"unable to %s '%s': %s (%d)",
request.verb(), request.uri, curl_easy_strerror(code), code);
request.verb(), result.urls.back(), curl_easy_strerror(code), code);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Front and back urls printed would help users find out the cause.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: substituter: show redirect destination on failure

2 participants