Noteslify icon indicating copy to clipboard operation
Noteslify copied to clipboard

💡 [REQUEST] - Sending all the 500 status codes error to email

Open Gauravdarkslayer opened this issue 2 years ago • 1 comments

Start Date

No response

Implementation PR

No response

Reference Issues

No response

Summary

Need a feature in backend application i.e. whenever there is an 500 internal server error caused in backend then it should send an email to admin mentioning whole stacktrace. This will help us to monitor our app better.

Basic Example

Add error logging to global level.

Drawbacks

None

Unresolved questions

No response

Gauravdarkslayer avatar Oct 31 '22 15:10 Gauravdarkslayer

Hey @Gauravdarkslayer, Thanks for contributing and Congrats on opening Issue :tada:

We will try to review as soon as possible and a maintainer will get back to you soon!

github-actions[bot] avatar Oct 31 '22 15:10 github-actions[bot]

@devarshishimpi I would love to work on this.

thevinitgupta avatar Feb 19 '23 13:02 thevinitgupta

Sure @thevinitgupta Have assigned you the same. 🚀

devarshishimpi avatar Feb 19 '23 14:02 devarshishimpi

Thanks, I'll start working on this. Is there any particular library you would like me to use for sending the email or should I use nodemailer?

thevinitgupta avatar Feb 20 '23 04:02 thevinitgupta

Thanks, I'll start working on this. Is there any particular library you would like me to use for sending the email or should I use nodemailer?

Yes nodemailer itself

devarshishimpi avatar Feb 20 '23 04:02 devarshishimpi

Added

devarshishimpi avatar Feb 23 '23 06:02 devarshishimpi