Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Produce a better error for the puppet downloader when file not found #434

Conversation

hajee
Copy link
Contributor

@hajee hajee commented Mar 2, 2021

Newer versions of Puppet raise the error Puppet::HTTP::RouteError when the file is not found. This resulted not only in a misleading error but also an error without the original url.

This commit changes this. It catches the error and produces an error with the url in it. Unfortunately, the original misleading error is still produces, so we try to elaborate a bit in the error we produce.

Newer versions of Puppet raise the error Puppet::HTTP::RouteError when the file is not found. This resulted not only in a misleading error but also an error without the original url.

This commit changes this. It catches the error and produces an error with the url  in it. Unfortunately, the original misleading error is still produces, so we try to elaborate a bit in the error we produce.
@hajee
Copy link
Contributor Author

hajee commented Mar 6, 2021

Is there an ETA when there is time to look at this PR?

@kenyon
Copy link
Member

kenyon commented Mar 7, 2021

Is there an ETA when there is time to look at this PR?

No, just when one of us @voxpupuli volunteers gets around to it. 😄

The change seems fine to me, but I don't use this module.

@bastelfreak
Copy link
Member

thanks for the PR!

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.

3 participants