Skip to content

Commit

Permalink
added requestURI in http request
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitsuthar committed Sep 26, 2024
1 parent 6b50fc5 commit ca7c203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/nr-security-agent/lib/core/ExceptionReporting.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ function exceptionReporting(exception, request, responseCode) {
this.timestamp = Date.now();
this.httpRequest = request;
this.httpRequest.route = request.uri ? request.uri : request.url;
this.httpRequest.requestURI = request.url.split('?')[0];
this.exception = null;
this.counter = 1;
this.responseCode = responseCode ? responseCode : null
Expand Down

0 comments on commit ca7c203

Please sign in to comment.