DEV Community

loading...

Discussion on: Better error handling with async/await

Collapse
gene profile image
Gene

Thanks for sharing! I learned a lot from this and other devs comment here. I would like to point out that the last

if

should be for

postErr
Collapse
sobiodarlington profile image
Sobio Darlington Author

Thank you. I've fixed it.

I also learned a lot from the comments.