Skip to content

Commit

Permalink
Debug search
Browse files Browse the repository at this point in the history
  • Loading branch information
Ale Figueroa committed Mar 6, 2019
1 parent f4881ea commit 8d05a58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Recorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ export class Recorder {

delete lokiQuery.body
delete lokiQuery.host
if (request.method === 'GET') {
delete lokiQuery.bodyHash
}

debug('searching')
debug(lokiQuery)

return tapes.where(obj => isMatch(obj, lokiQuery))[0]
}
Expand Down

0 comments on commit 8d05a58

Please sign in to comment.