Skip to content

Commit

Permalink
Merge pull request #227 from adhocteam/cm-367-ignore-304-and-401
Browse files Browse the repository at this point in the history
add 403 and 401 status codes to expected_status_code in newrelic.js
  • Loading branch information
dcmcand authored Mar 11, 2021
2 parents b9dff4e + c17ad32 commit 3e618ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/newrelic.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,10 @@ exports.config = {
'response.headers.x*',
],
},
error_collector: {
expected_status_codes: [
'401',
'403',
],
},
};

0 comments on commit 3e618ff

Please sign in to comment.