# 'express-async-errors' not working!

**URL:** <https://forum.codewithmosh.com/t/express-async-errors-not-working/14185>\
**Category:** Node\
**Created:** [August 7, 2022, 5:08am UTC](https://forum.codewithmosh.com/t/express-async-errors-not-working/14185 "2022-08-07T05:08:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nazmul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/nazmul/32/557_2.png) [@Nazmul](https://forum.codewithmosh.com/u/Nazmul)\
**Post date:** [August 7, 2022, 5:08am UTC](https://forum.codewithmosh.com/t/express-async-errors-not-working/14185/1 "2022-08-07T05:08:50Z")

</div>

Hello guys,

I’m using the **express-async-errors** module shown in the Node.js course section 11 (Handling and Logging Errors). I do the same but when I stop the mongod server and send a request on postman it’s loading forever. The error message is not showing like the tutorial (Something failed.). And sometimes after loading completed on the postman, it shows this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/4/48101504ea4f30bdcc43329b3e433b5a5e1b78df.png)

If someone knows about this issue then please share your thoughts, it might be helpful for me.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Jozef](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@Jozef](https://forum.codewithmosh.com/u/Jozef)\
**Post date:** [August 7, 2022, 11:31am UTC](https://forum.codewithmosh.com/t/express-async-errors-not-working/14185/2 "2022-08-07T11:31:57Z")

</div>

Not sure exactly at which point you’re at. Because I was building my own app when doing this course. But from what I remember, you have to make sure you surround your requests to the mongodb with **try {} catch(e) {}** blocks
