Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

anytv-node-error-handler

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anytv-node-error-handler - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

.editorconfig

6

lib/index.js

@@ -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 @@

2

package.json
{
"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: () => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc