Skip to content

Commit

Permalink
fix: include path in the matching log output (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
travi authored and gr2m committed Oct 18, 2017
1 parent 6d9704d commit ea2fe9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/interceptor.js
Expand Up @@ -316,10 +316,10 @@ Interceptor.prototype.match = function match(options, body, hostNameOnly) {

// special logger for query()
if (queryIndex !== -1) {
this.scope.logger('matching ' + matchKey + '?' + queryString + ' to ' + this._key +
this.scope.logger('matching ' + matchKey + path + '?' + queryString + ' to ' + this._key +
' with query(' + stringify(this.queries) + '): ' + matches);
} else {
this.scope.logger('matching ' + matchKey + ' to ' + this._key + ': ' + matches);
this.scope.logger('matching ' + matchKey + path + ' to ' + this._key + ': ' + matches);
}

if (matches) {
Expand Down

0 comments on commit ea2fe9f

Please sign in to comment.