@dotcom-reliability-kit/middleware-log-errors
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -56,2 +56,7 @@ /** | ||
}); | ||
// HACK: this suppresses the Raven error logger. We can remove this | ||
// code without a breaking change if/when we pull Raven logging into | ||
// this module and deprecate n-raven | ||
response.locals.suppressRavenLogger = true; | ||
} catch (_) { | ||
@@ -58,0 +63,0 @@ // Not a lot we can do here |
{ | ||
"name": "@dotcom-reliability-kit/middleware-log-errors", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Express middleware to consistently log errors", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -63,2 +63,4 @@ | ||
**Note:** if you're also using [n-raven v6.1+](https://github.com/Financial-Times/n-raven) in your application then the Raven error logging will be deactivated so that you don't get double-logged errors. | ||
### Configuration options | ||
@@ -65,0 +67,0 @@ |
6466
61
100