Skip to content

Commit

Permalink
Correction of the "e" variable to "err" in snippet (#3123)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuncerdamat authored Jan 10, 2024
1 parent 6cd0aeb commit df0f4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pg-pool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pool.connect((err, client, done) => {
client.query('SELECT $1::text as name', ['pg-pool'], (err, res) => {
done()
if (err) {
return console.error('query error', e.message, e.stack)
return console.error('query error', err.message, err.stack)
}
console.log('hello from', res.rows[0].name)
})
Expand Down

0 comments on commit df0f4d1

Please sign in to comment.