Improve error messages in codebuddy_quiz command#34
Improve error messages in codebuddy_quiz command#34shivani-d-13 wants to merge 1 commit intoTheCodeVerseHub:mainfrom
Conversation
|
Kinda I like the PR but it sounds too minimal to be considered as a contribution idk what to do @TheCodeVerseHub/admin waiting for ur response |
Happy to expand this. Should I apply similar improvements across other files, or are there specific areas you'd like me to focus on? |
|
I am unsure what to do. |
HyScript7
left a comment
There was a problem hiding this comment.
The PR title is misleading. The only thing this PR does is rename a couple error messages and remove a leading space.
That said, it does make the error messages a tiny bit clearer, so I will be merging this.
Thank you for your contribution.
| print(f"[Unexpected error in codestats command]: {e}") | ||
| await ctx.send("Error displaying your stats.") | ||
| await ctx.send("Failed to load your stats. Please try again in a moment.") | ||
|
|
There was a problem hiding this comment.
Since it counts as a contribution I approve this.
What changed?
Improved error handling in the codebuddy_quiz command by replacing vague error messages with clearer, user-friendly responses.
Why?
Link the issue (required for non-trivial changes):
Previous error messages were generic and not helpful to users. These changes improve user experience and make debugging easier.
Partially addresses [Good First Issue]: Improve error messages #28
How to test
Checklist
.env, keys)Screenshots (optional)
NA