Skip to content

Commit 9fe6e56

Browse files
committed
Merge pull request #51 from jonnor/ignore_504
Don't report 504,403 as error to New Relic
2 parents e0f037e + 8d4f931 commit 9fe6e56

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

newrelic.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,12 @@ exports.config = {
2020
* production applications.
2121
*/
2222
level : 'info'
23+
},
24+
/**
25+
* Don't report certain types of failures as errors
26+
*/
27+
error_collector : {
28+
enabled : true,
29+
ignore_status_codes : [403,404,504]
2330
}
2431
};

0 commit comments

Comments
 (0)