fix[ux]: fix empty hints in error messages#4351
fix[ux]: fix empty hints in error messages#4351charles-cooper merged 12 commits intovyperlang:masterfrom
Conversation
|
|
|
It seems like a code smell that we are creating empty string hints in the first place. Do we know where they are coming from? |
I think its as in this - #4351 (comment) - just the |
|
note the regression comes from #4154 -- the previous code checked for truthy value of |
Yeah, I think there are two main solutions:
I think the second solution is cleaner, but the first solution ensures that we catch any missed empty string hints. |
|
i think 2. is better -- we should not be supplying empty string as a hint! |
Hope its better now :) |
What I did
Remove empty hint message from exceptions. As in #4313.
How I did it
Modify the check of absent hint to include an empty string.
How to verify it
Commit message
Description for the changelog
Cute Animal Picture