Skip to content

Commit

Permalink
replacing pr #852
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Nov 21, 2022
1 parent 1347c96 commit a790646
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ function $query(ctx, query, values, qrm, config) {
if (npm.utils.isConnectivityError(err)) {
ctx.db.client.$connectionError = err;
}
err.query = err.query ?? query;
err.params = err.params ?? params;
error = err;
} else {
multiResult = Array.isArray(result);
Expand Down

0 comments on commit a790646

Please sign in to comment.