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

Add newline to improve provider source not found error readability #285

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jasonmacgowan
Copy link

@jasonmacgowan jasonmacgowan commented Feb 22, 2025

This PR adds a newline to the error output for Dry::System::ProviderSourceNotFoundError. Without it, the end of the group name runs into "Available".

Before

dry-system-1.2.2/lib/dry/system/provider_source_registry.rb:51:in 'block in Dry::System::ProviderSourceRegistry#resolve': Provider source not found: :http, group: :my_gemAvailable provider sources: (Dry::System::ProviderSourceNotFoundError)

[]

After

dry-system-1.2.2/lib/dry/system/provider_source_registry.rb:51:in 'block in Dry::System::ProviderSourceRegistry#resolve': Provider source not found: :http, group: :my_gem
Available provider sources: (Dry::System::ProviderSourceNotFoundError)

[]

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.

1 participant