Skip to content
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

Error handling in Backend #89

Open
M0hitSingh opened this issue May 21, 2023 · 5 comments
Open

Error handling in Backend #89

M0hitSingh opened this issue May 21, 2023 · 5 comments
Assignees

Comments

@M0hitSingh
Copy link

Hey @ayushgupta4002, I want to make proper Error handler for backend,
If you think you need a good error handler then please assign this issue to me

@ayushgupta4002
Copy link
Member

hi @M0hitSingh please elaborate more about the issue;

@M0hitSingh
Copy link
Author

Sure @ayushgupta4002 ,
As you see, in Server Side the API's have no proper response for error ( it have only console.log )
So I want to make a general error handler, which can be used in every catch block of an API
for much better responses and exceptional handling

Like this error (no handling when error occurred)
Location : server/controllers/Feedback.js
image

@M0hitSingh
Copy link
Author

M0hitSingh commented May 26, 2023

@ayushgupta4002 Waiting for your response

@ayushgupta4002
Copy link
Member

Hi @M0hitSingh
Please start working on it!
all the best for your contribution

@M0hitSingh
Copy link
Author

Hey @ayushgupta4002 , I have added the updated feature (#155)
please go though it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants