-
Notifications
You must be signed in to change notification settings - Fork 122
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
Make API error message more verbose #32
Comments
@bronwynbiro sorry for late reply. Are you still interested in tackling this issue? |
It would be my first time, but with some help I think I should manage |
@lawfets thanks for your interest in contributing to HackIDE. Regarding this issue, it should be an easy one. We want to show better error messages to users in case API calls to HackerEarth fails. Please look into the main javascript file to find |
I'll check it out |
where can I find the main javascript file? |
This is the error message we show if API request fails. We should be able to see the response and show the message according to the response message. |
what should I write? btw how do I adapt the file, do i fork it and than make a pull request? |
Depends. Can we see what error message is returned from the API request. It may also be a timeout. You will need to investigate how we can check what caused an Ajax request to fail.
Yes, right! |
I don't think I can do anything at the moment as the original bug seems to be fixed and hacker earth has no bug with code_id": "6879d1z. So I cannot replicate any failures. |
I did find someone else with equal problem on github with a compiler but no answer there. |
Is there anything I'm missing I should do to try to solve this issue |
@lawfets you need to do some search regarding what kind of response do we get when Ajax request fails. You will need to read a bit about Ajax for this. Accordingly, we can then handle the error cases. |
I would be interested in working on this issue. Is this issue assigned to @lawfets ? |
feel free to hop in adi8, I'm still in learning mode for AJAX so at the moment, nothing I can do |
Cool. I have a pretty good idea of what to do. Would like to know from @sahildua2305 what is exactly expected. You see I'm also new to open source projects. |
@adi8 Check this issue - #31 (comment) Should be an easy fix. |
This issue is very difficult to replicate. Based on the info that I could gather on HackerEarth API documentation(https://www.hackerearth.com/docs/api/developers/code/legacy/) and the #31 issue I made some changes in javascript. I'll issue a pull request. |
I am new to open source but I would like to contribute |
@sahildua2305 I want work on this issue it is not already solve.Should I take this up? |
I would like to work on this is this still open? |
Would like to work on this issue, is it still open? |
Yes, after staying on snooze for a while, it's up for grabs again. |
@sahil865gupta can i look into this issue? Is this still valid one? |
@sahildua2305 -- Is this issue still open ? |
is this open? |
Hello, is this issue still open? I am new to contributing and would love to take it on? |
Is this issue solved? |
I think we should make the error message more verbose explaining that it's API's fault and it's temporary.
For more details: See #31
The text was updated successfully, but these errors were encountered: