brianc / node-postgres-docs

Documentation for node-postgres
https://node-postgres.com
MIT License
97 stars 94 forks source link

Simplified code example #177

Closed ackinc closed 2 years ago

ackinc commented 2 years ago

The code in the finally block runs even if there was an error while executing the catch block, so the "async/await - check out a client" example can be simplified.

Screenshot_20220616_184740

netlify[bot] commented 2 years ago

Hey! A preview of the changes is deployed on netlify to take a look at! :)

Name Link
Latest commit 5f014a8efa36ede5be038454f2c9704172d1a7c3
Latest deploy log https://app.netlify.com/sites/hopeful-clarke-f36d36/deploys/62ab2df672b8230009a04cb4
Deploy Preview https://deploy-preview-177--hopeful-clarke-f36d36.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

brianc commented 2 years ago

Thank you & sorry for the delay!