Skip to content

Commit

Permalink
style:
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Oct 23, 2019
1 parent 009a212 commit b0890c5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/routines/executeQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,13 @@ export default async (

try {
try {
result = await executionRoutine(connection, actualQuery.sql, actualQuery.values, executionContext, actualQuery);
result = await executionRoutine(
connection,
actualQuery.sql,
actualQuery.values,
executionContext,
actualQuery
);
} catch (error) {
// 'Connection terminated' refers to node-postgres error.
// @see https://github.com/brianc/node-postgres/blob/eb076db5d47a29c19d3212feac26cd7b6d257a95/lib/client.js#L199
Expand Down

0 comments on commit b0890c5

Please sign in to comment.