Skip to content

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

Open
jasonmacgowan wants to merge 1 commit intodry-rb:mainfrom
jasonmacgowan:patch-1
Open

Add newline to improve provider source not found error readability#285
jasonmacgowan wants to merge 1 commit intodry-rb:mainfrom
jasonmacgowan:patch-1

Conversation

@jasonmacgowan
Copy link
Copy Markdown

@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