-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fixes Issue #5646 (httpGet() not showing friendly error message) #5647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@limzykenneth @stalgiag Would love it if you would take a look at my PR. Thanks! |
I don't usually review FES stuff as I'm not as familiar with it but why is the implementation of |
@limzykenneth |
If the idea is to patch in FES to httpGet, it would be easier to do it in httpDo itself otherwise we will need to apply the same patch to httpPost and httpDo separately. |
I had the same idea at first tbh, However, |
Hi @reejuBhattacharya, thank you for taking your time to look into this issue! I can imagine people may benefit from the added error message. Although, I have some concerns about adding the
Please let me know if you have any questions or concerns! |
Thank you @reejuBhattacharya for working on it. I am wondering if you might have thoughts on @almchung's concerns? |
Hi @reejuBhattacharya, we want to follow up with this pull request, and we are wondering if you could respond to @almchung's comments. Meanwhile, I'm inviting this year's GSoC FES contributor @Ayush23Dash and mentors @nbriz and @almchung to this conversation, so we can decide how to move forward with this PR. Thanks. |
Resolves #5646
Changes:
Modified the
httpGet()
method to show Friendly Error Message when an error is thrownScreenshots of the change:
Before:

After:

PR Checklist
npm run lint
passes