Put duplicate plugin location in error message #15781
Merged
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.
SUMMARY
I was trying to adjust some things in our testing suite, and I was getting very frustrated due to this error message, and the lack of actionable information that it gives me.
Before:
You say that the controller credential type is already defined... but why are you telling me this? I don't have prior context, why does it matter that it is already defined? I would hope that it should be defined, yes. That definition sounds like a perfectly good way to define it. Why is this a problem? I see there is a hint that we have a conflicting definition... I know nothing about this other definition.
After:
ISSUE TYPE
COMPONENT NAME