Skip to content

(#1532) Replace ParserError with Puppet::Error #1538

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

Closed
wants to merge 1 commit into from

Conversation

bastelfreak
Copy link
Collaborator

@bastelfreak bastelfreak commented Oct 19, 2023

I'm not sure how we ended up with ParserError in the provider. This exception doesn't exist in Ruby. Puppet ships ther own exception, Puppet::Error. It probably makes sense to raise that instead.

Fixes 179472b

Summary

Provide a detailed description of all the changes present in this pull request.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@ekohl
Copy link
Collaborator

ekohl commented Oct 19, 2023

Fixes 179472b, so part of 10.0.0.

@bastelfreak bastelfreak force-pushed the error branch 3 times, most recently from 29f4418 to cf0d538 Compare October 19, 2023 14:09
@jlindquist-godaddy
Copy link

LGTM, thanks!

I'm not sure how we ended up with ParserError in the provider. This
exception doesn't exist in Ruby. Puppet ships ther own exception,
Puppet::Error. It probably makes sense to raise that instead.

Fixes 179472b
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Oct 19, 2023
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
@bastelfreak
Copy link
Collaborator Author

I implemented a more working and more detailed solution in #1540, thanks to @ekohl <3

bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Oct 19, 2023
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Oct 19, 2023
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Oct 19, 2023
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Oct 26, 2023
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Nov 13, 2023
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Nov 13, 2023
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Nov 27, 2023
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Jan 17, 2024
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Apr 8, 2024
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Apr 10, 2024
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
bastelfreak added a commit to bastelfreak/puppetlabs-postgresql that referenced this pull request Apr 10, 2024
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
vaol pushed a commit to vaol/puppetlabs-postgresql that referenced this pull request Oct 13, 2024
I'm not sure how we ended up with ParserError in the
provider. This exception doesn't exist in Ruby.
Puppet ships ther own exception, Puppet::Error. It
probably makes sense to raise that instead.

Fixes 179472b

Alternative implementation for puppetlabs#1538
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Postgresql::Server::Config_entry uninitialized constant ParserError
4 participants