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

Raise ModuleNotFound if a module is not found #104

Merged
merged 1 commit into from
May 31, 2023

Conversation

ekohl
Copy link
Contributor

@ekohl ekohl commented Apr 28, 2023

While 026e0c1 did add the exception class, it wasn't used. This avoids leaking an implementation detail.

Technically this is backwards incompatible, since it requires users to change their code. It could make PuppetForge::ModuleNotFound inherit from Faraday::ResourceNotFound, but that stil leaks the implementation detail. It could however be split into two releases: one minor to do this + inherit and make it not inherit in a major release.

While 026e0c1 did add the exception
class, it wasn't used. This avoids leaking an implementation detail.

Technically this is backwards incompatible, since it requires users to
change their code. It could make PuppetForge::ModuleNotFound inherit
from Faraday::ResourceNotFound, but that stil leaks the implementation
detail.
@ekohl ekohl requested a review from a team as a code owner April 28, 2023 11:11
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

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

LGTM

@owenbeckles owenbeckles merged commit e5803ed into puppetlabs:main May 31, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants