Skip to content

Commit

Permalink
add 403 and 401 status codes to expected_status_code in newrelic.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed Mar 11, 2021
1 parent 9369bd5 commit ae18da5
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 ae18da5

Please sign in to comment.