anytv-node-error-handler
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -20,2 +20,8 @@ 'use strict'; | ||
logger.error(`${req.originalMethod}: ${req.url}`); | ||
if (Object.keys(req.body).length) { | ||
logger.error(`Request body: ${JSON.stringify(req.body)}`); | ||
} | ||
logger.error(error); | ||
@@ -22,0 +28,0 @@ |
{ | ||
"name": "anytv-node-error-handler", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Express error handler middleware", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -62,3 +62,3 @@ 'use strict'; | ||
})('err', | ||
{}, | ||
{body: {}}, | ||
{ | ||
@@ -65,0 +65,0 @@ status: () => { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
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
8388
11
88
1
1