Tuesday 29 September 2020

Error handling in ejs

I've been using ejs as my templating engine for a project and I need a solution to catch rendering errors(that generally return the stack trace) while doing res.render. Apart from this I enclosed database calls in a try catch and I'm using async await. Any suggestions at all would be most welcome thankyou! Would be nice even if y'all can share any repos regarding ejs best practices

Submitted September 29, 2020 at 07:24AM by thatpunywolfie

No comments:

Post a Comment