DEV Community

loading...

Discussion on: Sh*tpost: can we stop saying "syntactic sugar"?

Collapse
andreirusu_ profile image
Andrei Rusu

To me it seems easier to do error handling when using async/await vs then/catch. Most of the times you need an extra try/catch when you're doing then/catch, but when using async/await both sync and async exceptions are caught.