elastic-apm-node
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -0,1 +1,4 @@ | ||
# 1.5.2 - 2018/5/11 | ||
* fix(express): string errors should not be reported | ||
# 1.5.1 - 2018/5/10 | ||
@@ -2,0 +5,0 @@ * fix: don't throw if span callsites can't be collected |
@@ -34,3 +34,3 @@ 'use strict' | ||
return function (err, req, res, next) { | ||
if ((isError(err) || typeof err === 'string') && !err[reportedSymbol]) { | ||
if (isError(err) && !err[reportedSymbol]) { | ||
err[reportedSymbol] = true | ||
@@ -37,0 +37,0 @@ agent.captureError(err, { request: req }) |
{ | ||
"name": "elastic-apm-node", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "The official Elastic APM agent for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
149318
45
3674