Closed ManuLpz4 closed 1 year ago
@ManuLpz4 Are you sure you're not explicitly logging the error in your middleware? I don't get those logs unless I explicitly call console.error
from my middleware.
Another caveat is, your global exception-handling middleware should be the last middleware in your middleware chain. Could you try something like shown in the image?
@ManuLpz4 Are you sure you're not explicitly logging the error in your middleware? I don't get those logs unless I explicitly call
console.error
from my middleware.Another caveat is, your global exception-handling middleware should be the last middleware in your middleware chain. Could you try something like shown in the image?
I come to my house, try it and answer. Thank you for taking the time to helping me
@ManuLpz4 You're welcome! Please, do tell if it works. I had the issue myself.
Fixed! Thank you so much Dam for helping me :)
I think the issue was the lack of a handler, my bad, im burnout
Hey, guys! How is it going? Do you know any way to avoid logging all the catched errors? It's a bit dirty in my honest opinion :(