Skip to content

Commit

Permalink
add debugging logging for results metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Sep 21, 2021
1 parent 9f80a55 commit b8b5477
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,13 @@ export class CsvGenerator {
}

// TODO check for shard failures, log them and add a warning if found
{
const {
hits: { hits, ...hitsMeta },
...header
} = results;
this.logger.debug('Results metadata: ' + JSON.stringify({ header, hitsMeta }));
}

let table: Datatable | undefined;
try {
Expand Down

0 comments on commit b8b5477

Please sign in to comment.