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

Call the correct ResponseError method #9480

Merged
merged 1 commit into from
Sep 13, 2024

Commits on Sep 10, 2024

  1. Call the correct ResponseError method

    If the agent failed to download it's client cert leading to an
    Puppet::HTTP:ReponseError exception, then it tried to call a nonexistent
    `message` method on the Puppet::HTTP::Response.
    
    Instead call `message` directly on the ResponseError, which contains the HTTP
    reason, e.g. Internal Server Error.
    
    Also when renewing a client cert, explicitly call e.message instead of relying
    on whatever ResponseError#to_s returns.
    joshcooper committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    e3b2116 View commit details
    Browse the repository at this point in the history