feat[ux]: move exception hint to the end of the message#4154
Merged
charles-cooper merged 10 commits intovyperlang:masterfrom Sep 16, 2024
Merged
feat[ux]: move exception hint to the end of the message#4154charles-cooper merged 10 commits intovyperlang:masterfrom
charles-cooper merged 10 commits intovyperlang:masterfrom
Conversation
Collaborator
Author
|
Given how close the |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4154 +/- ##
===========================================
- Coverage 91.35% 46.17% -45.18%
===========================================
Files 109 109
Lines 15635 15641 +6
Branches 3443 3443
===========================================
- Hits 14283 7222 -7061
- Misses 920 7866 +6946
- Partials 432 553 +121 ☔ View full report in Codecov by Sentry. |
Collaborator
Author
|
The current version changes the |
charles-cooper
approved these changes
Sep 16, 2024
charles-cooper
added a commit
to charles-cooper/vyper
that referenced
this pull request
Oct 5, 2024
moved the `(hint: ...)` to be reported at the end of the exception to improve the readability. the hint should be displayed after the actual problem has been described, i.e. as the last item in the exception message. --------- Co-authored-by: Charles Cooper <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What I did
(hint: ...)to be reported as the last item to improve the readabilityexample:
original:
new order:
edit: fix the example
How to verify it
Commit message
Description for the changelog
Cute Animal Picture