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

Rescue exception in retrieve_token function #24

Merged
merged 1 commit into from
Apr 23, 2022

Conversation

m0dular
Copy link
Contributor

@m0dular m0dular commented Apr 22, 2022

This commit rescues StandardError and raises an error with the message
using Puppet.err. It also adds the response body to the error in case
of an http error code.

This commit rescues StandardError and raises an error with the message
using Puppet.err.  It also adds the response body to the error in case
of an http error code.
@m0dular m0dular requested a review from a team as a code owner April 22, 2022 23:39
@puppet-community-rangefinder
Copy link

influxdb::retrieve_token is a function

that may have no external impact to Forge modules.

This module is declared in 0 of 579 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@MartyEwings MartyEwings added the bug Something isn't working label Apr 23, 2022
@MartyEwings MartyEwings merged commit 9c20d18 into puppetlabs:main Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants