wrapped in a single try/catch block to handle any errors:
How to write beautiful Node.js APIs using async/await and the Firebase Database
Paul Breslin

Is there no way to do something like `promise.fail()` to catch errors when using `async/await`?

Show your support

Clapping shows how much you appreciated Lincoln W Daniel’s story.