Improve clarity of error messages in ErrCreatingComponents #165
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
so the current error logging contains
![image](https://private-user-images.githubusercontent.com/66886118/398351593-5b3cf023-a913-4bc7-9232-f19b6bd0aba4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjQ1NDcsIm5iZiI6MTczOTQ2NDI0NywicGF0aCI6Ii82Njg4NjExOC8zOTgzNTE1OTMtNWIzY2YwMjMtYTkxMy00YmM3LTkyMzItZjE5YjZiZDBhYmE0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE2MzA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUwY2U4ZGY5ZTU2NzEwNjY0MTViMjYyNjNkMGFlMjE5MWJmNDRjNjRiMjAyMDMzYzY2N2ExMTlhOWFmZTQxYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jddyn-BzU9sEVahIMN2dbQ6iywRqq7r9wSaqMHw8rO8)
configuration.URL
,incorrect.Version
,configuration.Make
andcorrect.Make
looking like some sort of an object like this:so I thought about adding some spaces in the error message for clarity to look like this:
![image](https://private-user-images.githubusercontent.com/66886118/398351801-5fae9b60-508c-4f1c-996f-45600797a11d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjQ1NDcsIm5iZiI6MTczOTQ2NDI0NywicGF0aCI6Ii82Njg4NjExOC8zOTgzNTE4MDEtNWZhZTliNjAtNTA4Yy00ZjFjLTk5NmYtNDU2MDA3OTdhMTFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE2MzA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1YWFkMmFiMDViOGRiNTk1ZjIwNzkyMjVhZTMwOTMzYWFlZTAxN2IzZjc5Y2JlNWM4NzdjMTgxYjk1NTMwY2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.w9b2njjhfTNcJ4KY4JpS2FWDezSDUUZjHiPEsYoK1hI)
If this is a desired behavior let me know so I can update other errors in the same way, If not, this pr should be closed