Skip to content

Commit

Permalink
Replace req.url with req.originalUrl in Express extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
koistya committed Jan 24, 2018
1 parent e3369b7 commit 75a0421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/error-reporting/src/request-extractors/express.js
Expand Up @@ -65,7 +65,7 @@ function expressRequestInformationExtractor(req, res) {
}

returnObject.setMethod(req.method)
.setUrl(req.url)
.setUrl(req.originalUrl)
.setUserAgent(req.header('user-agent'))
.setReferrer(req.header('referrer'))
.setStatusCode(res.statusCode)
Expand Down

0 comments on commit 75a0421

Please sign in to comment.