Skip to content

Commit

Permalink
add logs for create query results
Browse files Browse the repository at this point in the history
  • Loading branch information
alihm committed Aug 4, 2023
1 parent 675f514 commit 345e345
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ClusterOperator/Backlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ class BackLog {
} else if (connId >= 0) {
result = await ConnectionPool.getConnectionById(connId).query(query, false, fullQuery);
}
if (query.toLowerCase().startsWith('create')) {
log.warn(`Create query result: ${JSON.stringify(result)}`);
}
return [result, seqForThis, timestamp];
}
/*
Expand Down

0 comments on commit 345e345

Please sign in to comment.